public final class IsoTypeReader extends Object
Constructor and Description |
---|
IsoTypeReader() |
Modifier and Type | Method and Description |
---|---|
static int |
byte2int(byte b) |
static String |
read4cc(ByteBuffer bb) |
static double |
readFixedPoint0230(ByteBuffer bb) |
static double |
readFixedPoint1616(ByteBuffer bb) |
static float |
readFixedPoint88(ByteBuffer bb) |
static String |
readIso639(ByteBuffer bb) |
static String |
readString(ByteBuffer byteBuffer)
Reads a zero terminated UTF-8 string.
|
static String |
readString(ByteBuffer byteBuffer,
int length) |
static int |
readUInt16(ByteBuffer bb) |
static int |
readUInt16BE(ByteBuffer bb) |
static int |
readUInt24(ByteBuffer bb) |
static long |
readUInt32(ByteBuffer bb) |
static long |
readUInt32BE(ByteBuffer bb) |
static long |
readUInt48(ByteBuffer byteBuffer) |
static long |
readUInt64(ByteBuffer byteBuffer) |
static int |
readUInt8(ByteBuffer bb) |
public static long readUInt32BE(ByteBuffer bb)
public static long readUInt32(ByteBuffer bb)
public static int readUInt24(ByteBuffer bb)
public static int readUInt16(ByteBuffer bb)
public static int readUInt16BE(ByteBuffer bb)
public static int readUInt8(ByteBuffer bb)
public static int byte2int(byte b)
public static String readString(ByteBuffer byteBuffer)
byteBuffer
- the data sourceError
- in case of an error in the underlying streampublic static String readString(ByteBuffer byteBuffer, int length)
public static long readUInt64(ByteBuffer byteBuffer)
public static double readFixedPoint1616(ByteBuffer bb)
public static double readFixedPoint0230(ByteBuffer bb)
public static float readFixedPoint88(ByteBuffer bb)
public static String readIso639(ByteBuffer bb)
public static String read4cc(ByteBuffer bb)
public static long readUInt48(ByteBuffer byteBuffer)
Copyright © 2014. All rights reserved.