Function __global->read_network_endian_int
Definitions
sources/galleries2.php
- Read an integer from the given binary chunk. The integer is in network endian form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $buffer | string | No | No | required parameter | N/A | N/A | The binary chunk |
Returns
- The integer
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Read an integer from the given binary chunk. The integer is in network endian form.
*
* @param string $buffer The binary chunk
* @return integer The integer
*/
function read_network_endian_int(string $buffer) : int
* Read an integer from the given binary chunk. The integer is in network endian form.
*
* @param string $buffer The binary chunk
* @return integer The integer
*/
function read_network_endian_int(string $buffer) : int

