public class FOPCFFDataInput
extends org.apache.fontbox.cff.DataInputByteArray
| Constructor and Description |
|---|
FOPCFFDataInput(byte[] buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition() |
boolean |
hasRemaining() |
int |
length() |
int |
peekUnsignedByte(int offset) |
byte |
readByte() |
byte[] |
readBytes(int length) |
int |
readUnsignedByte() |
void |
setPosition(int position) |
public boolean hasRemaining()
throws IOException
hasRemaining in interface org.apache.fontbox.cff.DataInputhasRemaining in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic int getPosition()
getPosition in interface org.apache.fontbox.cff.DataInputgetPosition in class org.apache.fontbox.cff.DataInputByteArraypublic void setPosition(int position)
throws IOException
setPosition in interface org.apache.fontbox.cff.DataInputsetPosition in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic byte readByte()
throws IOException
readByte in interface org.apache.fontbox.cff.DataInputreadByte in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface org.apache.fontbox.cff.DataInputreadUnsignedByte in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic int peekUnsignedByte(int offset)
throws IOException
peekUnsignedByte in interface org.apache.fontbox.cff.DataInputpeekUnsignedByte in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic byte[] readBytes(int length)
throws IOException
readBytes in interface org.apache.fontbox.cff.DataInputreadBytes in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionpublic int length()
throws IOException
length in interface org.apache.fontbox.cff.DataInputlength in class org.apache.fontbox.cff.DataInputByteArrayIOExceptionCopyright © 2025 Apache Software Foundation. All rights reserved.