Skip to content

Latest commit

 

History

History
118 lines (65 loc) · 1.58 KB

IEncoder.md

File metadata and controls

118 lines (65 loc) · 1.58 KB

opfsdb / Exports / IEncoder

Interface: IEncoder

Hierarchy

  • Encoder

    IEncoder

Table of contents

Properties

Methods

Properties

decodeKeys

decodeKeys: (tag: any) => any

Type declaration

▸ (tag): any

Parameters
Name Type
tag any
Returns

any

Defined in

lib/types.ts:83

Methods

decode

decode(messagePack): any

Parameters

Name Type
messagePack Uint8Array | Buffer

Returns

any

Inherited from

Encoder.decode

Defined in

node_modules/.pnpm/cbor-x@1.5.8/node_modules/cbor-x/index.d.ts:43


decodeMultiple

decodeMultiple(messagePack, forEach?): void | []

Parameters

Name Type
messagePack Uint8Array | Buffer
forEach? (value: any) => any

Returns

void | []

Inherited from

Encoder.decodeMultiple

Defined in

node_modules/.pnpm/cbor-x@1.5.8/node_modules/cbor-x/index.d.ts:44


encode

encode(value): Buffer

Parameters

Name Type
value any

Returns

Buffer

Inherited from

Encoder.encode

Defined in

node_modules/.pnpm/cbor-x@1.5.8/node_modules/cbor-x/index.d.ts:54