public class ByteBufferInputStream extends InputStream
| Constructor and Description | 
|---|
ByteBufferInputStream(ByteBuffer bb)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
available()  | 
static void | 
byteBuffer2Record(ByteBuffer bb,
                 Record record)  | 
int | 
read()  | 
int | 
read(byte[] b)  | 
int | 
read(byte[] b,
    int off,
    int len)  | 
long | 
skip(long n)  | 
close, mark, markSupported, resetpublic ByteBufferInputStream(ByteBuffer bb)
public int read()
         throws IOException
read in class InputStreamIOExceptionpublic int available()
              throws IOException
available in class InputStreamIOExceptionpublic int read(byte[] b,
                int off,
                int len)
         throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
         throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
          throws IOException
skip in class InputStreamIOExceptionpublic static void byteBuffer2Record(ByteBuffer bb, Record record) throws IOException
IOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.