![]() |
omorfi 0.9.9
Open morphology of Finnish
|
Public Member Functions | |
ByteArray (int s) | |
ByteArray (ByteArray another, int s) | |
int | getSize () |
byte | get (int i) |
byte[] | getBytes () |
short | getUByte () |
int | getUShort () throws java.io.IOException |
long | getUInt () throws java.io.IOException |
Boolean | getBool () throws java.io.IOException |
float | getFloat () throws java.io.IOException |
A way of handling unsigned little-endian data
net.sf.hfst.ByteArray.ByteArray | ( | int | s | ) |
Create byte array from int.
s | int to convert |
net.sf.hfst.ByteArray.ByteArray | ( | ByteArray | another, |
int | s | ||
) |
Create byte array from byte array.
another | array to convert |
s | size to convert |
byte net.sf.hfst.ByteArray.get | ( | int | i | ) |
Get a byte.
i | index of byte. |
Boolean net.sf.hfst.ByteArray.getBool | ( | ) | throws java.io.IOException |
Get unsigned bool.
byte[] net.sf.hfst.ByteArray.getBytes | ( | ) |
Get all bytes.
float net.sf.hfst.ByteArray.getFloat | ( | ) | throws java.io.IOException |
Get unsigned float.
int net.sf.hfst.ByteArray.getSize | ( | ) |
Get byte array size.
short net.sf.hfst.ByteArray.getUByte | ( | ) |
Get unsigned byte.
long net.sf.hfst.ByteArray.getUInt | ( | ) | throws java.io.IOException |
Get unsigned int.
int net.sf.hfst.ByteArray.getUShort | ( | ) | throws java.io.IOException |
Get unsigned short.