PSLB

PSLB

This page documents the format of PSLB.

Overview #

PSLB are data-interchange files like JSON or XML.

OffsetSizeTypeDescription
0x0004char[4]Magic Number ‘PSLB’
0x0044uint32Unkown
0x0084uint32Unkown
0x00C4uint32Unkown

Data #

The data is constructed of 1 byte that represents what type of data follows

ValueType
1String
2int32
3float (4 byte)
4Byte
5Map
6List

The string type is a combination of an uint32 for the length of the string followed by the characters of the string.

For the Map and List after the type a uint32 follows that represents the number of entries in the Map/List.

The keys of the Map are always strings but the values can have any type of the table

Category:File formats