UNPKG

js-conflux-sdk

Version:
24 lines 633 B
export = StringCoder; declare class StringCoder extends BytesCoder { static from({ type, ...options }: { [x: string]: any; type: any; }): StringCoder; constructor({ type, name }: { type: any; name: any; }); type: any; /** * @param {string} value - string in utf8 * @return {Buffer} */ encode(value: string): Buffer; /** * @param {import('../../util/HexStream')} stream * @return {string} */ decode(stream: import('../../util/HexStream')): string; } import BytesCoder = require("./BytesCoder"); //# sourceMappingURL=StringCoder.d.ts.map