Readonlytype: The format type of the data.
Optional Readonlyformat?: "BE" | "LE" | "LEV"The endianness of the data.
If not present, "LE" should be assumed.
"BE": Big Endian"LE": Little Endian"LEV": Little VarintReadonlytype: "NBT"The format type of the data.
Readonlybytes: numberHow many bytes this integer is.
Readonlyformat: "BE" | "LE"The endianness of the data.
Readonlysigned: booleanThe signedness of the data.
Readonlytype: "int"The format type of the data.
ReadonlyresultType: "JSONNBT"The format type that results from the parse method.
Readonlytype: "custom"The format type of the data.
The function to serialize the data.
This result of this can be written directly to the file or LevelDB entry.
The data to serialize.
The serialized data, as a buffer.
ReadonlyresultType: "SNBT"The format type that results from the parse method.
Readonlytype: "custom"The format type of the data.
The function to parse the data.
The data parameter should be the buffer read directly from the file or LevelDB entry.
The data to parse, as a buffer.
The parsed data.
The function to serialize the data.
This result of this can be written directly to the file or LevelDB entry.
The data to serialize.
The serialized data, as a buffer.
ReadonlyresultType: "buffer"The format type that results from the parse method.
Readonlytype: "custom"The format type of the data.
The function to parse the data.
The data parameter should be the buffer read directly from the file or LevelDB entry.
The data to parse, as a buffer.
The parsed data.
The function to serialize the data.
This result of this can be written directly to the file or LevelDB entry.
The data to serialize.
The serialized data, as a buffer.
ReadonlyresultType: "unknown"The format type that results from the parse method.
Readonlytype: "custom"The format type of the data.
The function to parse the data.
The data parameter should be the buffer read directly from the file or LevelDB entry.
The data to parse, as a buffer.
The parsed data.
The function to serialize the data.
This result of this can be written directly to the file or LevelDB entry.
The data to serialize.
The serialized data, as a buffer.
Optional ReadonlydefaultValue?: BufferThe default value to use when initializing a new entry.
Optional ReadonlyrawFileExtension?: stringThe raw file extension of the data.
If not present, "bin" should be assumed.
The format data for an entry content type.
Use this type if you want to have support for content type formats that aren't currently is use but may be in the future.
This is used in the entryContentTypeToFormatMap object.