MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / encodeBinary

Function encodeBinary

pkg/events/redis/codec.go:30–32  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

28var binaryEncoding = base64.RawStdEncoding
29
30func encodeBinary(b []byte) string {
31 return binaryEncoding.EncodeToString(b)
32}
33
34func decodeBinary(s string) ([]byte, error) {
35 var found bool

Callers 2

encodeEventDataFunction · 0.85
encodeEventMetaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected