@InterfaceAudience.Private public class InputBuffer extends Object implements Closeable
| Constructor and Description | 
|---|
| InputBuffer(BufferType type,
           int inputSize) | 
| InputBuffer(byte[] bytes) | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | array() | 
| int | capacity() | 
| void | close() | 
| 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 IOException
IOExceptionpublic InputBuffer(byte[] bytes)
public BufferType getType()
public 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 Closeableclose in interface AutoCloseableCopyright © 2008–2023 Apache Software Foundation. All rights reserved.