Options
All
  • Public
  • Public/Protected
  • All
Menu

Define the structure of the serializable payload and embed the main methods to transform array in to object and vice versa.

Hierarchy

Index

Properties

Static DefautSettings

DefautSettings: Defaults

Accessors

bufferLength

  • get bufferLength(): number

serializeMetadata

Methods

deserialize

serialize

  • serialize(_defs?: Defaults, err?: function): Buffer
  • Return a buffer that contains all data information stored in properties of the current instance of the object

    Parameters

    • Optional _defs: Defaults
    • Optional err: function
        • (e: Error): void
        • Parameters

          • e: Error

          Returns void

    Returns Buffer