public class FramingInputStream extends DataInputStream implements Iterable<byte[]>
Constructor and Description |
---|
FramingInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
Iterator<byte[]> |
iterator() |
byte[] |
readFrame() |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
public FramingInputStream(InputStream in)
public byte[] readFrame() throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.