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
private static class CFFParser.CFFBytesource extends java.lang.Object implements CFFParser.ByteSource
Allows bytes to be re-read later by CFFParser.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bytes
-
Constructor Summary
Constructors Constructor Description CFFBytesource(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()Returns the source bytes.
-
-
-
Method Detail
-
getBytes
public byte[] getBytes() throws java.io.IOExceptionDescription 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:
java.io.IOException- if the data could not be read
-
-