UNPKG

@atcute/cbor

Version:

lightweight DASL dCBOR42 codec library for AT Protocol

13 lines 459 B
export interface Bytes { $bytes: string; } export declare class BytesWrapper implements Bytes { buf: Uint8Array; constructor(buf: Uint8Array); get $bytes(): string; toJSON(): Bytes; } export declare const isBytes: (value: unknown) => value is Bytes; export declare const toBytes: (buf: Uint8Array<ArrayBufferLike>) => Bytes; export declare const fromBytes: (bytes: Bytes) => Uint8Array<ArrayBufferLike>; //# sourceMappingURL=bytes.d.ts.map