Class InputStreamByteSource.Block
java.lang.Object
org.apache.commons.imaging.bytesource.InputStreamByteSource.Block
- Enclosing class:
InputStreamByteSource
A block of bytes (a byte array).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final byte[]private InputStreamByteSource.Blockprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) InputStreamByteSource.BlockgetNext()(package private) intlength()
-
Field Details
-
bytes
final byte[] bytes -
next
-
triedNext
private boolean triedNext
-
-
Constructor Details
-
Block
Block(byte[] bytes)
-
-
Method Details
-
getNext
- Throws:
IOException
-
length
int length()
-