UNPKG

@chainsafe/ssz

Version:

Simple Serialize

5 lines (4 loc) 267 B
import { ByteVector } from "../interface.ts"; export declare function toHexString(bytes: Uint8Array | ByteVector): string; export declare function fromHexString(hex: string): Uint8Array; export declare function byteArrayEquals(a: Uint8Array, b: Uint8Array): boolean;