UNPKG

@truffle/codec

Version:

Library for encoding and decoding smart contract data

3 lines (2 loc) 156 B
import * as Format from "../../format"; export declare function byteLength(dataType: Format.Types.Type, userDefinedTypes?: Format.Types.TypesById): number;