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

Method Decode

protocol/net/packet/login/setCompression.go:22–25  ·  view source on GitHub ↗
(r encoding.Reader)

Source from the content-addressed store, hash-verified

20}
21
22func (s *SetCompression) Decode(r encoding.Reader) error {
23 _, err := r.VarInt(&s.Threshold)
24 return err
25}

Callers

nothing calls this directly

Calls 1

VarIntMethod · 0.45

Tested by

no test coverage detected