Documentation

November 29, 2020 ยท View on GitHub

API

Module protodef-neo

  • Exports:
    • datatypes (see Module protodef-neo/datatypes)
  • (see Protocol)
    • Interpreter [default]
    • Compiler (TODO)
  • (see Datatypes)
    • ComplexDatatype
    • CountableDatatype
    • PartialReadError

Module protodef-neo/datatypes

(protodef-neo/src/datatypes.cjs for Node <= 12)

All default datatypes from specification

Module protodef-neo/protodef

(protodef-neo/src/legacy.cjs for Node <= 12)

Use to replace protodef in your existing code, note that only these exported classes are backward-compatible:

  • ProtoDef
  • Serializer
  • Parser
  • FullPacketParser