UNPKG

@adguard/agtree

Version:
17 lines (16 loc) 629 B
import { BaseDeserializer } from './base-deserializer.js'; import { type EmptyRule } from '../nodes/index.js'; import { type InputByteBuffer } from '../utils/input-byte-buffer.js'; /** * Deserializer for empty rule nodes. * This class handles the deserialization of empty rule nodes from binary format. */ export declare class EmptyRuleDeserializer extends BaseDeserializer { /** * Deserializes an empty rule node from binary format. * * @param buffer ByteBuffer for reading binary data. * @param node Destination node. */ static deserialize(buffer: InputByteBuffer, node: EmptyRule): void; }