Class HashFactory

An interface for objects that can be encoded and decoded to/from msgpack and JSON.

Implements

Constructors

Properties

hashType: number
encodingSchema: NamedMapSchema = ...

Methods

  • Get the encoding Schema for this object, used to prepare the encoding data for msgpack and JSON.

    Returns Schema

  • Extract the encoding data for this object. This data, after being prepared by the encoding Schema, can be encoded to msgpack or JSON.

    Returns Map<string, unknown>

Generated using TypeDoc