java.io.Closeable, java.lang.AutoCloseable@Private
public class InputBuffer
extends java.lang.Object
implements java.io.Closeable
| Constructor | Description |
|---|---|
InputBuffer(byte[] bytes) |
|
InputBuffer(BufferType type,
int inputSize) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
array() |
|
int |
capacity() |
|
void |
close() |
|
java.nio.ByteBuffer |
getByteBuffer() |
|
BufferType |
getType() |
|
int |
length() |
|
int |
position() |
|
int |
position(int pos) |
|
int |
remaining() |
|
void |
rewind(int startOffset,
int length) |
public InputBuffer(BufferType type, int inputSize) throws java.io.IOException
java.io.IOExceptionpublic InputBuffer(byte[] bytes)
public BufferType getType()
public java.nio.ByteBuffer getByteBuffer()
public int length()
public void rewind(int startOffset,
int length)
public int remaining()
public int position()
public int position(int pos)
public int capacity()
public byte[] array()
public void close()
close in interface java.lang.AutoCloseableclose in interface java.io.CloseableCopyright © 2008–2025 Apache Software Foundation. All rights reserved.