Skip to main content

Interface: SimpleType<T>

Type Parameters

T

T = any

Properties

name

readonly name: string


size

readonly size: number

Methods

fromBuffer()

fromBuffer(buffer, ctx?): T

Parameters

buffer

Uint8Array

ctx?

Returns

T


toBuffer()

toBuffer(data, ctx?): Uint8Array

Parameters

data

T

ctx?

Returns

Uint8Array