com.coremedia.iso
Class IsoTypeReader
java.lang.Object
com.coremedia.iso.IsoTypeReader
public final class IsoTypeReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsoTypeReader
public IsoTypeReader()
readUInt32BE
public static long readUInt32BE(ByteBuffer bb)
readUInt32
public static long readUInt32(ByteBuffer bb)
readUInt24
public static int readUInt24(ByteBuffer bb)
readUInt16
public static int readUInt16(ByteBuffer bb)
readUInt16BE
public static int readUInt16BE(ByteBuffer bb)
readUInt8
public static int readUInt8(ByteBuffer bb)
byte2int
public static int byte2int(byte b)
readString
public static String readString(ByteBuffer byteBuffer)
- Reads a zero terminated UTF-8 string.
- Parameters:
byteBuffer
- the data source
- Returns:
- the string readByte
- Throws:
Error
- in case of an error in the underlying stream
readString
public static String readString(ByteBuffer byteBuffer,
int length)
readUInt64
public static long readUInt64(ByteBuffer byteBuffer)
readFixedPoint1616
public static double readFixedPoint1616(ByteBuffer bb)
readFixedPoint88
public static float readFixedPoint88(ByteBuffer bb)
readIso639
public static String readIso639(ByteBuffer bb)
read4cc
public static String read4cc(ByteBuffer bb)
Copyright © 2012. All Rights Reserved.