public class FramedBufferInputStream extends InputStream
| Constructor and Description |
|---|
FramedBufferInputStream(ReadableByteChannel in) |
FramedBufferInputStream(ReadableByteChannel in,
int maxFrameSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
nextFrame()
Skip the rest of the current frame, regardless of how much has bean read / used.
|
int |
read() |
int |
read(byte[] data) |
int |
read(byte[] data,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic FramedBufferInputStream(ReadableByteChannel in)
public FramedBufferInputStream(ReadableByteChannel in, int maxFrameSize)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(@Nonnull byte[] data) throws IOException
read in class InputStreamIOExceptionpublic int read(@Nonnull byte[] data, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic void nextFrame()
Copyright © 2015–2018 morimekta.net. All rights reserved.