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.DataInput
hasRemaining
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public int getPosition()
getPosition
in interface org.apache.fontbox.cff.DataInput
getPosition
in class org.apache.fontbox.cff.DataInputByteArray
public void setPosition(int position) throws IOException
setPosition
in interface org.apache.fontbox.cff.DataInput
setPosition
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public byte readByte() throws IOException
readByte
in interface org.apache.fontbox.cff.DataInput
readByte
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface org.apache.fontbox.cff.DataInput
readUnsignedByte
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public int peekUnsignedByte(int offset) throws IOException
peekUnsignedByte
in interface org.apache.fontbox.cff.DataInput
peekUnsignedByte
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public byte[] readBytes(int length) throws IOException
readBytes
in interface org.apache.fontbox.cff.DataInput
readBytes
in class org.apache.fontbox.cff.DataInputByteArray
IOException
public int length() throws IOException
length
in interface org.apache.fontbox.cff.DataInput
length
in class org.apache.fontbox.cff.DataInputByteArray
IOException
Copyright © 2025 Apache Software Foundation. All rights reserved.