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

Method writeLongArray

protocol/nbt/encoder.go:99–104  ·  view source on GitHub ↗
(ll []int64)

Source from the content-addressed store, hash-verified

97}
98
99func (e *Encoder) writeLongArray(ll []int64) error {
100 if err := e.writeInt(int32(len(ll))); err != nil {
101 return err
102 }
103 return binary.Write(e.w, binary.BigEndian, ll)
104}
105
106func (e *Encoder) writeString(s string) error {
107 if err := e.writeShort(int16(len(s))); err != nil {

Callers 1

encodeCompoundMapMethod · 0.95

Calls 2

writeIntMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected