public class FontByteArray extends Object
int whenever the OpenType type fits
in [-2^31 .. 2^31-1], long otherwise. The
only exception is getuint32asint| Constructor and Description |
|---|
FontByteArray(FontInputStream in,
int inStreamSize) |
FontByteArray(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
void |
getBytes(FontByteArray toArray,
int toBufferOffset,
int fromBufferOffset,
int fromBufferLength)
Copy 'fromBufferLength' bytes, starting at 'fromBufferOffset', from 'this' to 'toBufferOffset' in 'toArray'.
|
byte[] |
getBytes(int index,
int length) |
int |
getSize() |
int |
hashCode() |
void |
write(OutputStream out) |
public FontByteArray(int size)
public FontByteArray(FontInputStream in, int inStreamSize) throws IOException, InvalidFontException
IOExceptionInvalidFontExceptionpublic final int getSize()
public final void getBytes(FontByteArray toArray, int toBufferOffset, int fromBufferOffset, int fromBufferLength)
public final byte[] getBytes(int index,
int length)
public void write(OutputStream out) throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved