Skip to content
On this page

Scale JS / @scale-codec/core / encodeCompact

Namespace: encodeCompact

@scale-codec/core.encodeCompact

Table of contents

Variables

Variables

sizeHint

sizeHint: (value: number | bigint) => number

Type declaration

▸ (value): number

Parameters
NameType
valuenumber | bigint
Returns

number

Defined in

packages/core/src/codecs/compact.ts:80