Method from org.apache.fontbox.cff.DataOutput Detail: |
public byte[] getBytes() {
return outputBuffer.toByteArray();
}
Returns the written data buffer as byte array. |
public void print(String string) throws IOException {
write(string.getBytes(outputEncoding));
}
Write the given string to the buffer using the given encoding. |
public void println() {
write('\n');
}
Add a newline to the given string. |
public void println(String string) throws IOException {
write(string.getBytes(outputEncoding));
write('\n');
}
Write the given string to the buffer using the given encoding.
A newline is added after the given string |
public void write(int value) {
outputBuffer.write(value);
}
Write an int value to the buffer. |
public void write(byte[] buffer) {
outputBuffer.write(buffer, 0, buffer.length);
}
Write a byte array to the buffer. |
public void write(byte[] buffer,
int offset,
int length) {
outputBuffer.write(buffer, offset, length);
}
Write a part of a byte array to the buffer. |