Sha256: 58d852020017f133073c58b07699d30acd94406789fd7a375efe82eb435f3b11

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

import { TSerializer } from './serializePrimitives';
import { TSchema } from './schemaTypes';
export declare type TFromLongConverter<LONG> = (v: LONG) => string;
/**
 * Creates js to bytes converter for object from given schema
 * @param schema
 * @param fromLongConverter
 */
export declare const serializerFromSchema: <LONG = string | number>(schema: TSchema, fromLongConverter?: TFromLongConverter<LONG> | undefined) => TSerializer<any>;
export declare function serializeTx<LONG = string | number>(tx: any, fromLongConverter?: TFromLongConverter<LONG>): Uint8Array;
export declare function serializeOrder<LONG = string | number>(ord: any, fromLongConverter?: TFromLongConverter<LONG>): Uint8Array;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/marshall/dist/serialize.d.ts