dev-master
9999999-dev https://github.com/axypro/binaryWorking with binary strings
MIT
The Requires
- php >=5.4.0
0.1.0
0.1.0.0 https://github.com/axypro/binaryWorking with binary strings
MIT
The Requires
- php >=5.4.0
Working with binary strings
Working with binary strings in PHP. At the moment this package doesn't make much sense. Used by some other packages., (*1)
Native string functions allow to work with text strings as with binary (a char is a byte). The problem is that these functions can be overridden from mbstring., (*3)
The library uses mbstring functions with the charset 8bit
.
And native functions if mbstring is not enabled., (*4)
Binary
Class axy\binary\Binary
with static methods., (*5)
getLength(string $string): int
getSlice(string $string, int $offset [, int $length]): string
getByteFromChar(string $char [, bool $signed = FALSE]): int
getByteFromString(string $string, int $index [, bool $signed = FALSE]): int
unpackBytes(string $string [, bool $signed = false]): int[]
Working with binary strings
MIT
Working with binary strings
MIT