|Modifier and Type||Method and Description|
Reads length as 1 or 2 byte vInt prefix, starting at start.
Gets a slice out of
public void fillSlice(BytesRef b, long start, int length)
PagedBytesstarting at start with a given length. Iff the slice spans across a block border this method will allocate sufficient resources and copy the paged data.
Slices spanning more than one block are not supported.
public void fill(BytesRef b, long start)
Note: this method does not support slices spanning across block borders.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.