Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

add some decoders & encoders #1

@boneskull

Description

@boneskull

while MQTT doesn't make any prescription about what the content of a message is, we can provide a few simple decoders (and encoders) for ease-of-use. let's do:

  • plain text (basically just convert Buffer to string)
  • base64
  • JSON
  • binary (convert whatever to a Buffer)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions