Class InputBuffer
java.lang.Object
org.apache.hadoop.mapred.nativetask.buffer.InputBuffer
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Details
-
InputBuffer
- Throws:
IOException
-
InputBuffer
public InputBuffer(byte[] bytes)
-
-
Method Details
-
getType
-
getByteBuffer
-
length
public int length() -
rewind
public void rewind(int startOffset, int length) -
remaining
public int remaining() -
position
public int position() -
position
public int position(int pos) -
capacity
public int capacity() -
array
public byte[] array() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-