An utility class to perform simple byte transformations on data.
Located in /Transform.php (line 49)
Returns machine endian ordered binary data as a floating point number.
Returns big-endian ordered binary data as a float point number.
Returns little-endian ordered binary data as a floating point number.
Returns the little-endian ordered binary data as big-endian ordered hexadecimal GUID string.
Returns binary data as hexadecimal string having high nibble first.
Returns binary data as 8-bit integer.
Returns machine endian ordered binary data as signed 16-bit integer.
Returns big-endian ordered binary data as signed 16-bit integer.
Returns little-endian ordered binary data as signed 16-bit integer.
Returns machine-endian ordered binary data as signed 32-bit integer.
Returns big-endian ordered binary data as signed 32-bit integer.
Returns little-endian ordered binary data as signed 32-bit integer.
Returns big-endian ordered binary data as 64-bit float. PHP does not support 64-bit integers as the long integer is of 32-bits but using aritmetic operations it is implicitly converted into floating point which is of 64-bits long.
Returns little-endian ordered binary data as 64-bit float. PHP does not support 64-bit integers as the long integer is of 32-bits but using aritmetic operations it is implicitly converted into floating point which is of 64-bits long.
Returns binary data as hexadecimal string having low nibble first.
Returns binary data as string. Removes terminating zero.
Returns UTF-16 formatted binary data as machine-ordered multibyte string.
The byte order is determined from the byte order mark included in the binary data string. The order parameter is updated if a BOM is found.
Returns big-endian ordered binary data as machine ordered multibyte string.
Removes terminating zero.
Returns little-endian ordered binary data as machine ordered multibyte string. Removes terminating zero.
Returns binary data as an unsigned 8-bit integer.
Returns big-endian ordered binary data as unsigned 16-bit integer.
Returns little-endian ordered binary data as unsigned 16-bit integer.
Returns big-endian ordered binary data as unsigned 32-bit integer.
Returns little-endian ordered binary data as unsigned 32-bit integer.
Returns whether the current machine endian order is big endian.
Returns whether the current machine endian order is little endian.
Returns a floating point number as machine endian ordered binary data.
Returns a floating point number as big-endian ordered binary data.
Returns a floating point number as little-endian ordered binary data.
Returns big-endian ordered hexadecimal GUID string as little-endian ordered binary data string.
Returns hexadecimal string having high nibble first as binary data.
Returns an 8-bit integer as binary data.
Returns signed 16-bit integer as machine endian ordered binary data.
Returns signed 16-bit integer as big-endian ordered binary data.
Returns signed 16-bit integer as little-endian ordered binary data.
Returns signed 32-bit integer as machine-endian ordered binary data.
Returns signed 32-bit integer as big-endian ordered binary data.
Returns signed 32-bit integer as little-endian ordered binary data.
Returns 64-bit float as big-endian ordered binary data string.
Returns 64-bit float as little-endian ordered binary data string.
Returns hexadecimal string having low nibble first as binary data.
Returns string as binary data padded to given length with zeros.
Returns machine-ordered multibyte string as UTF-16 defined-order binary data. The byte order is stored using a byte order mask (BOM) in the binary data string.
Returns machine ordered multibyte string as big-endian ordered binary data.
Returns machine-ordered multibyte string as little-endian ordered binary data.
Returns an unsigned 8-bit integer as binary data.
Returns unsigned 16-bit integer as big-endian ordered binary data.
Returns unsigned 16-bit integer as little-endian ordered binary data.
Returns unsigned 32-bit integer as big-endian ordered binary data.
Returns unsigned 32-bit integer as little-endian ordered binary data.
Documentation generated on Fri, 05 Sep 2008 20:19:57 +0300 by phpDocumentor 1.4.1