package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: May 11, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func BinaryToJSON(t Type, fPort uint8, variables hstore.Hstore, decodeScript string, b []byte) ([]byte, error)
-
func JSONToBinary(t Type, fPort uint8, variables hstore.Hstore, encodeScript string, ...) ([]byte, error)
-
type Type
BinaryToJSON encodes the given binary payload to JSON.
JSONToBinary encodes the given JSON to binary.
Type defines the codec type.
const (
None = ""
CayenneLPPType Type = "CAYENNE_LPP"
CustomJSType Type = "CUSTOM_JS"
)
Available codec types.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.