Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (28)

View Page History

{zone-data:revision}
1.0 - 20 April 2009: Initial Draft
1.1 - 8 August 2009
{zone-data}


{zone-data:milestones}
* DONE: Milestone 1: Working prototype transformed from existing code and checked into the incubator (necessary tasks: conform to Zend naming conventions, and refactor to support the new API described here).
* Milestone 2: Unit tests exist, work, and are checked into SVN.
* Milestone 2: Unit tests exist and work.
* Milestone 3: Initial documentation exists.
* Milestone 4: Moved to core.

/**
* Reads 2 bytes from the stream and returns machine endian little-endian ordered binary
* data as signed 16-bit integer.
*
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readInt16LE() {}

/**
* Reads 2 bytes from the stream and returns big-endian ordered binary data
* as signed 16-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readInt16BE() {}

/**
* Reads 2 bytes from the stream and returns little-endian ordered binary
* data as unsigned 16-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readUInt16LE() {}

/**
* Reads 2 bytes from the stream and returns big-endian ordered binary data
* as unsigned 16-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readUInt16BE() {}

/**
* Reads 2 3 bytes from the stream and returns machine endian little-endian ordered binary
* data as unsigned 16-bit signed 24-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
private public final function readUInt16() readInt24LE() {}

/**
* Reads 2 3 bytes from the stream and returns little-endian big-endian ordered binary data
* data as unsigned 16-bit signed 24-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readUInt16LE() readInt24BE() {}

/**
* Reads 2 3 bytes from the stream and returns big-endian little-endian ordered binary data
* data as unsigned 16-bit 24-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readUInt16BE() readUInt24LE() {}

/**
* Reads 4 3 bytes from the stream and returns machine-endian big-endian ordered binary data
* data as signed 32-bit unsigned 24-bit integer.
*
* @return integer
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readInt32() readUInt24BE() {}

/**

/**
* Reads machine dependent size of bytes from the stream and returns machine
* Reads fixme bytes from the stream and returns the binary data as a
* endian ordered binary data as a floating point number.
*
* @return float

/**
* Reads machine dependent size of bytes from the stream and returns
* little-endian ordered binary data as a floating point number.
*
* @return float
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readFloatLE() {}

/**
* Reads machine dependent size of bytes from the stream and returns
* big-endian ordered binary data as a float point number.
*
* @return float
* @throws Zend_Io_Exception if an I/O error occurs
*/
public final function readFloatBE() {}

/**
* Reads <var>length</var> amount of bytes from the stream and returns
* binary data as string. Removes terminating zero.