Package org.mp4parser.tools
Class IsoTypeReader
java.lang.Object
org.mp4parser.tools.IsoTypeReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intbyte2int(byte b) static Stringread4cc(ByteBuffer bb) static doublestatic doublestatic floatstatic StringreadIso639(ByteBuffer bb) static StringreadString(ByteBuffer byteBuffer) Reads a zero terminated UTF-8 string.static StringreadString(ByteBuffer byteBuffer, int length) static intreadUInt16(ByteBuffer bb) static intstatic intreadUInt24(ByteBuffer bb) static longreadUInt32(ByteBuffer bb) static longstatic longreadUInt48(ByteBuffer byteBuffer) static longreadUInt64(ByteBuffer byteBuffer) static intreadUInt8(ByteBuffer bb)
-
Constructor Details
-
IsoTypeReader
public IsoTypeReader()
-
-
Method Details
-
readUInt32BE
-
readUInt32
-
readUInt24
-
readUInt16
-
readUInt16BE
-
readUInt8
-
byte2int
public static int byte2int(byte b) -
readString
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
-
readUInt64
-
readFixedPoint1616
-
readFixedPoint0230
-
readFixedPoint88
-
readIso639
-
read4cc
-
readUInt48
-