|
| __construct () |
| Constructor.
|
|
| __construct ($stream) |
| Constructor.
|
|
| getStream () |
| Returns the current stream.
|
|
| readBytes ($length) |
| Read the number of bytes in a row for the length supplied.
|
|
| writeBytes ($bytes) |
| Write any length of bytes to the stream.
|
|
| readByte () |
| Reads a signed byte.
|
|
| writeByte ($stream) |
| Writes the passed string into a signed byte on the stream.
|
|
| readInt () |
| Reads a signed 32-bit integer from the data stream.
|
|
| writeInt ($stream) |
| Write an the integer to the output stream as a 32 bit signed integer.
|
|
| readUtf () |
| Reads a UTF-8 string from the data stream.
|
|
| writeUtf ($stream) |
| Wite a UTF-8 string to the outputstream.
|
|
| readLongUtf () |
| Read a long UTF string.
|
|
| writeLongUtf ($stream) |
| Write a long UTF string to the buffer.
|
|
| readLong () |
| Read a long numeric value.
|
|
| writeLong ($stream) |
| Write long numeric value to output stream.
|
|
| readUnsignedShort () |
| Read a 16 bit unsigned short.
|
|
| readDouble () |
| Reads an IEEE 754 double-precision floating point number from the data stream.
|
|
| writeDouble ($stream) |
| Writes an IEEE 754 double-precision floating point number from the data stream.
|
|