js

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryToJSON

func BinaryToJSON(fPort uint8, variables map[string]string, decodeScript string, b []byte) ([]byte, error)

BinaryToJSON encodes the given binary payload to JSON.

func JSONToBinary

func JSONToBinary(fPort uint8, variables map[string]string, encodeScript string, b []byte) ([]byte, error)

JSONToBinary encodes the given JSON payload to binary.

func Setup

func Setup(conf config.Config) error

Setup configures the JS codec.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL