Files
serialize-js/types/type.d.ts

16 lines
399 B
TypeScript

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;