mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-23 23:09:18 +00:00
1.1 KiB
1.1 KiB
googlevideo / exports/ump / UmpWriter
Class: UmpWriter
Defined in: src/core/UmpWriter.ts:6
A serialization module that encodes data into the UMP binary format with proper type and size encoding.
Constructors
Constructor
new UmpWriter(
compositeBuffer):UmpWriter
Defined in: src/core/UmpWriter.ts:7
Parameters
compositeBuffer
Returns
UmpWriter
Methods
write()
write(
partType,partData):void
Defined in: src/core/UmpWriter.ts:16
Writes a part to the buffer.
Parameters
partType
number
The type of the part.
partData
Uint8Array
The data of the part.
Returns
void