静态
instanceThe singleton instance of the JsonBinRead class.
The ArrayBuffer containing the binary JSON data to be read.
可选
createObjWithClass: FunctionA function used to create objects with specific classes during the parsing process (optional).
The parsed object. If the data format is not recognized, it returns null.
Reads binary JSON data from the given ArrayBuffer and parses it into an object. It first initializes some internal state, determines the format based on a marker in the buffer, creates a keyMap for decoding, and then uses the _readOne method to start parsing the data. It also measures and may log the parsing time if it exceeds a certain threshold.
静态
Is静态
parse
已被弃用
Uses JsonBin