public class DictionaryUtil extends Object
| Constructor and Description |
|---|
DictionaryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
readKatakana(ByteBuffer b,
char[] s,
int off,
int len) |
static void |
readString(ByteBuffer b,
char[] s,
int off,
int len) |
static int |
readVInt(ByteBuffer bb)
Reads an int stored in variable-length format.
|
static void |
writeKatakana(DataOutput d,
String s) |
static void |
writeVInt(DataOutput d,
int i)
Writes an int in a variable-length format.
|
public static int readVInt(ByteBuffer bb)
DataOutput#writeVInt(int)public static void writeVInt(DataOutput d, int i) throws IOException
IOExceptionDataInput#readVInt()public static void writeKatakana(DataOutput d, String s) throws IOException
IOExceptionpublic static void readString(ByteBuffer b, char[] s, int off, int len)
public static void readKatakana(ByteBuffer b, char[] s, int off, int len)