MCPcopy
hub / github.com/openacid/slim / String16

Struct String16

encode/encoder.go:77–77  ·  view source on GitHub ↗

String16 converts uint16 to slice of 2 bytes and back.

Source from the content-addressed store, hash-verified

75
76// String16 converts uint16 to slice of 2 bytes and back.
77type String16 struct{}
78
79// Encode converts uint16 to slice of 2 bytes.
80func (s String16) Encode(d interface{}) []byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected