tlo
Version:
Reader of binary serialized Type Language Schema
15 lines (14 loc) • 390 B
TypeScript
/// <reference types="node" />
export declare const enum ByteSize {
SIZE_OF_BOOLEAN = 1,
SIZE_OF_INT8 = 1,
SIZE_OF_INT16 = 2,
SIZE_OF_INT32 = 4,
SIZE_OF_INT64 = 8,
SIZE_OF_UINT8 = 1,
SIZE_OF_UINT16 = 2,
SIZE_OF_UINT32 = 4,
SIZE_OF_FLOAT32 = 4,
SIZE_OF_FLOAT64 = 8
}
export declare const get_array_buffer: (data: Buffer) => ArrayBuffer;