public class FontVerterUtils extends Object
| Constructor and Description |
|---|
FontVerterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
bytesStartsWith(byte[] data,
String... startsWith) |
static Field |
findPrivateField(String fieldName,
Class type) |
static Method |
findPrivateMethod(String methodName,
Class type) |
static long |
getTableChecksum(byte[] tableData) |
static boolean |
isBitSet(int position,
Byte val) |
static boolean |
isBitSet(int position,
Long num) |
static String |
nonNullString(String string) |
static int |
readLowerBits(int inByte,
int nBits) |
static int |
readUpperBits(int inByte,
int nBits) |
static byte[] |
tablePaddingNeeded(byte[] tableData) |
static byte[] |
toPrimative(Byte[] objArray) |
public static boolean bytesStartsWith(byte[] data,
String... startsWith)
public static long getTableChecksum(byte[] tableData)
throws IOException
IOExceptionpublic static byte[] tablePaddingNeeded(byte[] tableData)
public static int readUpperBits(int inByte,
int nBits)
throws IOException
IOExceptionpublic static int readLowerBits(int inByte,
int nBits)
throws IOException
IOExceptionpublic static byte[] toPrimative(Byte[] objArray)
public static boolean isBitSet(int position,
Byte val)
public static boolean isBitSet(int position,
Long num)
Copyright © 2018. All rights reserved.