UNPKG

@swtc/serializer

Version:
39 lines 1.25 kB
import { Factory } from "./Serializer"; declare const Serializer: { new (buf: any): { buffer: number[]; pointer: number; read(bytes: any): number[]; peek(bytes: any): number[]; bytes_to_str(in_buf: any): string; append(bytes: any): void; resetPointer(): void; to_hex(): string; to_json(): {}; serialize(obj: any): void; hash(prefix: any): string; }; TypeUtils: any; from_json(o: any): { buffer: number[]; pointer: number; read(bytes: any): number[]; peek(bytes: any): number[]; bytes_to_str(in_buf: any): string; append(bytes: any): void; resetPointer(): void; to_hex(): string; to_json(): {}; serialize(obj: any): void; hash(prefix: any): string; }; adr_json(so: any, account: any): any; check_no_missing_fields(typedef: any, obj: any): void; jsonify_structure(structure: any, field_name: any): any; get_field_header(type_id: number, field_id: number): number[]; sort_typedef(typedef: any[]): any[]; lookup_type_tx(id: any): any; lookup_type_le(id: any): any; }; export { Factory, Serializer }; //# sourceMappingURL=index.d.ts.map