Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
func
NewEncoder(w io.Writer) *Encoder {
19
return
&Encoder{w: w}
20
}
21
22
func
(e *Encoder) Encode(name string, v any) error {
23
if
err := e.writeByte(Compound); err != nil {
Callers
4
NBT
Method · 0.92
Save
Method · 0.92
Create
Function · 0.92
Encode
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected