UNPKG

@truffle/codec

Version:

Library for encoding and decoding smart contract data

8 lines (7 loc) 248 B
import type * as Format from "../../format"; /** * Encodes without padding, length, etc! * * @Category Encoding (low-level) */ export declare function encodeBytes(input: Format.Values.BytesDynamicValue | Format.Values.StringValue): Uint8Array;