Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a common interface for default and custom serializers.

Type parameters

  • T = any

Hierarchy

  • Serializer

Index

Properties

Methods

Properties

id

id: number

Type id.

Methods

read

  • Deserializes input data into an object.

    Parameters

    Returns T

write

  • write(output: DataOutput, object: T): void
  • Serializes an object into binary data.

    Parameters

    • output: DataOutput

      output data writer

    • object: T

      object to be serialized

    Returns void

Generated using TypeDoc