Package org.apache.fontbox.cff
Class CFFParser.CFFBytesource
java.lang.Object
org.apache.fontbox.cff.CFFParser.CFFBytesource
- All Implemented Interfaces:
CFFParser.ByteSource
- Enclosing class:
CFFParser
Allows bytes to be re-read later by CFFParser.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bytes
private final byte[] bytes
-
-
Constructor Details
-
CFFBytesource
CFFBytesource(byte[] bytes)
-
-
Method Details
-
getBytes
Description copied from interface:CFFParser.ByteSourceReturns the source bytes. May be called more than once.- Specified by:
getBytesin interfaceCFFParser.ByteSource- Returns:
- the source data as byte array
- Throws:
IOException- if the data could not be read
-