UNPKG

@adguard/agtree

Version:
16 lines (15 loc) 586 B
/** * Property map for binary serialization. This helps to reduce the size of the serialized data, * as it allows us to use a single byte to represent a property. * * ! IMPORTANT: If you change values here, please update the {@link BINARY_SCHEMA_VERSION}! * * @note Only 256 values can be represented this way. */ export declare const SimpleCommentMarshallingMap: { readonly Marker: 1; readonly Text: 2; readonly Start: 3; readonly End: 4; }; export type SimpleCommentMarshallingMap = typeof SimpleCommentMarshallingMap[keyof typeof SimpleCommentMarshallingMap];