Files
serialize-js/types/Struct.d.ts
2025-08-03 23:18:27 +03:00

8 lines
329 B
TypeScript

import { SerializableType, Type } from "."
/**
* constructs type of c-like structure. if field is headless, inside of structure will be stored u32 offset, outside of structure will be stored value of field
* @returns {Type}
*/
export function Struct(type_obj: Record<string, SerializableType | SerializableType[]>): Type;