UNPKG

@loaders.gl/wkt

Version:

Loader and Writer for the WKT (Well Known Text) Format

15 lines 599 B
/** * Simple helper to decode and encode "hex encoded" binary buffers * without first converting to string. */ export declare class HexEncoder { /** Get length in bytes required to store encoded data */ getEncodedLength(array: Uint8Array): number; /** Get length in bytes required to store decoded data */ getDecodedLength(array: Uint8Array): number; /** Decode hexadecimal */ decode(array: Uint8Array, result: Uint8Array): Uint8Array; /** Encode hexadecimal */ encode(array: Uint8Array, result: Uint8Array): Uint8Array; } //# sourceMappingURL=hex-encoder.d.ts.map