Skip to content

@aldea/sdk / Exports / Serializable

Interface: Serializable<T>

Generic Serializable interface.

Type parameters

Name
T

Table of contents

Methods

Methods

read

read(buf): T

Parameters

NameType
bufBufReader

Returns

T

Defined in

packages/core/dist/serializable.d.ts:6


write

write(buf, item): BufWriter

Parameters

NameType
bufBufWriter
itemT

Returns

BufWriter

Defined in

packages/core/dist/serializable.d.ts:7