public class ByteBufferInputStream extends InputStream
Constructor and Description |
---|
ByteBufferInputStream(ByteBuffer buffer) |
ByteBufferInputStream(ByteBuffer buffer,
boolean duplicate) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public ByteBufferInputStream(ByteBuffer buffer)
public ByteBufferInputStream(ByteBuffer buffer, boolean duplicate)
public int read()
read
in class InputStream
public int read(byte[] b)
read
in class InputStream
public int read(byte[] b, int off, int len)
read
in class InputStream
public long skip(long n)
skip
in class InputStream
public int available()
available
in class InputStream
public void mark(int readlimit)
mark
in class InputStream
public void reset()
reset
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
Copyright © 2017–2018 earcam. All rights reserved.