Parses file in PO format
float
MO_BIG_ENDIAN_MAGIC
0xde120495
integer
MO_HEADER_SIZE
28
float
MO_LITTLE_ENDIAN_MAGIC
0x950412de
Parses machine object (MO) format, independent of the machine's endian it was created on. Both 32bit and 64bit systems are supported.
_readLong( resource $stream , boolean $isBigEndian )
Reads an unsigned long from stream respecting endianess.
$stream
$isBigEndian
parse( resource $resource )
Parses machine object (MO) format, independent of the machine's endian it was created on. Both 32bit and 64bit systems are supported.
$resource
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.8/class-Cake.I18n.Parser.MoFileParser.html