MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / AppendUbyte

Function AppendUbyte

protocol/net/io/encoding/encoding.go:14–16  ·  view source on GitHub ↗
(data []byte, b byte)

Source from the content-addressed store, hash-verified

12}
13
14func AppendUbyte(data []byte, b byte) []byte {
15 return append(data, b)
16}
17
18func AppendShort(data []byte, s int16) []byte {
19 return append(data, byte(s>>8), byte(s))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected