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

Function AppendLong

protocol/net/io/encoding/encoding.go:30–32  ·  view source on GitHub ↗
(data []byte, l int64)

Source from the content-addressed store, hash-verified

28}
29
30func AppendLong(data []byte, l int64) []byte {
31 return append(data, byte(l>>56), byte(l>>48), byte(l>>40), byte(l>>32), byte(l>>24), byte(l>>16), byte(l>>8), byte(l))
32}
33
34func AppendVarInt(data []byte, value int32) []byte {
35 ux := uint32(value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected