|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.fonts.encoding.ByteStream
public class ByteStream
This is a wrapper around a byte buffer to allows streaming operations. This preserves my sanity, as managing arrays with irregular encodings is hell.
Constructor Summary | |
---|---|
ByteStream(ByteBuffer buffer,
int increment)
|
Method Summary | |
---|---|
void |
close()
|
byte |
get()
|
int |
getReadSize()
|
void |
put(byte b)
|
void |
put(byte[] b)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteStream(ByteBuffer buffer, int increment)
Method Detail |
---|
public void put(byte b)
public void put(byte[] b)
public byte get()
public void close()
public int getReadSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |