Method |
Description |
|
printFloat ( $value ) |
|
|
readBool ( $b ) : boolean |
Reads a byte boolean |
|
readByte ( string $c, boolean $signed = true ) : integer |
Reads an unsigned/signed byte |
|
readDouble ( $str ) |
|
|
readFloat ( $str ) |
|
|
readInt ( $str ) |
|
|
readLDouble ( $str ) |
|
|
readLFloat ( $str ) |
|
|
readLInt ( $str ) |
|
|
readLLong ( $str ) |
|
|
readLShort ( $str ) : integer |
Reads a 16-bit unsigned little-endian number |
|
readLTriad ( $str ) : mixed |
Reads a 3-byte little-endian number |
|
readLong ( $x ) |
|
|
readMetadata ( $value, boolean $types = false ) : array |
Reads a metadata coded string |
|
readShort ( $str ) : integer |
Reads a 16-bit unsigned big-endian number |
|
readSignedLShort ( $str ) : integer |
Reads a 16-bit signed little-endian number |
|
readSignedShort ( $str ) : integer |
Reads a 16-bit signed big-endian number |
|
readTriad ( $str ) : mixed |
Reads a 3-byte big-endian number |
|
writeBool ( $b ) : boolean | string |
Writes a byte boolean |
|
writeByte ( $c ) : string |
Writes an unsigned/signed byte |
|
writeDouble ( $value ) |
|
|
writeFloat ( $value ) |
|
|
writeInt ( $value ) |
|
|
writeLDouble ( $value ) |
|
|
writeLFloat ( $value ) |
|
|
writeLInt ( $value ) |
|
|
writeLLong ( $value ) |
|
|
writeLShort ( $value ) : string |
Writes a 16-bit signed/unsigned little-endian number |
|
writeLTriad ( $value ) : string |
Writes a 3-byte little-endian number |
|
writeLong ( $value ) |
|
|
writeMetadata ( array $data ) : string |
Writes a coded metadata string |
|
writeShort ( $value ) : string |
Writes a 16-bit signed/unsigned big-endian number |
|
writeTriad ( $value ) : string |
Writes a 3-byte big-endian number |
|