class-Com.Tecnick.File.Byte

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Byte

Com\Tecnick\File\Byte

Function to read byte-level data

Namespace: Com\Tecnick\File
Package: File
Category: Library
Copyright: 2015-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-07-28
Link: https://github.com/tecnickcom/tc-lib-file
Located at Byte.php
Methods summary
public
# __construct( string $str )

Initialize a new string to be processed

public integer
# getByte( integer $offset )

Get BYTE from string (8-bit unsigned integer).

public integer
# getULong( integer $offset )

Get ULONG from string (Big Endian 32-bit unsigned integer).

public integer
# getUShort( integer $offset )

Get USHORT from string (Big Endian 16-bit unsigned integer).

public integer
# getShort( integer $offset )

Get SHORT from string (Big Endian 16-bit signed integer).

public integer
# getUFWord( integer $offset )

Get UFWORD from string (Big Endian 16-bit unsigned integer).

public integer
# getFWord( integer $offset )

Get FWORD from string (Big Endian 16-bit signed integer).

public integer
# getFixed( integer $offset )

Get FIXED from string (32-bit signed fixed-point number (16.16).

Properties summary
protected string $str

String to process

# ''
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy