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

Function NewEncoder

protocol/nbt/encoder.go:18–20  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

16}
17
18func NewEncoder(w io.Writer) *Encoder {
19 return &Encoder{w: w}
20}
21
22func (e *Encoder) Encode(name string, v any) error {
23 if err := e.writeByte(Compound); err != nil {

Callers 4

NBTMethod · 0.92
SaveMethod · 0.92
CreateFunction · 0.92
EncodeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected