Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollabIDSerializer<C>

Serializes CollabIDs. This is slightly more efficient than DefaultSerializer.

Construct using getInstance.

Type Parameters

Hierarchy

  • CollabIDSerializer

Implements

Index

Methods

  • deserialize(message: Uint8Array): CollabID<C>
  • Inverse of serialize.

    Typically, this returns a deep clone of the original value, not the same literal reference. Indeed, it is impossible to return the original reference on a different replica.

    Parameters

    • message: Uint8Array

    Returns CollabID<C>

  • serialize(value: CollabID<C>): Uint8Array

Generated using TypeDoc