8 lines
329 B
TypeScript
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;
|