feat(serialize, parse): Number, String, Array, ConstString, ConstArray

This commit is contained in:
2025-08-03 10:54:21 +03:00
commit 26eb3b9068
15 changed files with 2969 additions and 0 deletions

15
types/type.d.ts vendored Normal file
View File

@ -0,0 +1,15 @@
export type Type = unknown
/**
* constructs type of utf8-string with constant byte size
* @param {number} byte_size max utf8-encoded byte size
* @returns {Type}
*/
export function ConstString(byte_size: number): Type;
/**
* constructs type of array with constant byte size
* @param {number} size number of items
* @returns {Type}
*/
export function ConstArray(size: number): Type;