com.bigdata.io
Interface IByteArraySlice

All Known Subinterfaces:
IByteArrayBuffer, IDataRecord, IFixedDataRecord
All Known Implementing Classes:
AbstractFixedByteArrayBuffer, ByteArrayBuffer, DataOutputBuffer, FixedByteArrayBuffer

public interface IByteArraySlice

Interface for a slice of a backing byte[].

Version:
$Id: IByteArraySlice.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 byte[] array()
          The backing byte[].
 int len()
          The length of the slice in the array().
 int off()
          The start of the slice in the array().
 

Method Detail

array

byte[] array()
The backing byte[]. This method DOES NOT guarantee that the backing array reference will remain constant. Some implementations use an extensible backing byte[] and will replace the reference when the backing buffer is extended.


off

int off()
The start of the slice in the array().


len

int len()
The length of the slice in the array().



Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.