Class ByteStream
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.encoding.ByteStream
-
public class ByteStream extends Object
This is a wrapper around a byte buffer to allows streaming operations. This preserves my sanity, as managing arrays with irregular encodings is hell.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ByteStream(ByteBuffer buffer, int increment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
byte
get()
int
getReadSize()
void
put(byte b)
void
put(byte[] b)
-
-
-
Constructor Detail
-
ByteStream
public ByteStream(ByteBuffer buffer, int increment)
-
-