Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ writeShort
Method
writeShort
protocol/nbt/encoder.go:55–60 ·
view source on GitHub ↗
(s int16)
Source
from the content-addressed store, hash-verified
53
}
54
55
func
(e *Encoder) writeShort(s int16) error {
56
return
e.writeBytes(
57
byte(s>>8),
58
byte(s),
59
)
60
}
61
62
func
(e *Encoder) writeInt(i int32) error {
63
return
e.writeBytes(
Callers
4
writeString
Method · 0.95
encodeCompoundStruct
Method · 0.95
encodeCompoundMap
Method · 0.95
encodeList
Method · 0.95
Calls
1
writeBytes
Method · 0.95
Tested by
no test coverage detected