@ExperimentalUnsignedTypes class MoReader
Reads the strings contained inside a *.mo file.
See the documentation of the MO file format.
class HeaderValues
Groups the header values to one object. |
MoReader(moFileURL: URL) |
fun readFile(): Map<MsgId, MsgStr>
Reads the *.mo file at the given URL and returns the contained strings as a Map from MsgIds to MsgStrs. |
val BE_MAGIC: ByteArray
The big-endian magic bytes of *.mo files (little-endian would be reversed) |
|
const val HEADER_SIZE_IN_BYTES: UInt
28 bytes = 7 × 4 bytes (≙ 7 32bit numbers) |