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

Method writeDouble

protocol/nbt/encoder.go:88–90  ·  view source on GitHub ↗
(d float64)

Source from the content-addressed store, hash-verified

86}
87
88func (e *Encoder) writeDouble(d float64) error {
89 return e.writeLong(int64(math.Float64bits(d)))
90}
91
92func (e *Encoder) writeIntArray(il []int32) error {
93 if err := e.writeInt(int32(len(il))); err != nil {

Callers 3

encodeCompoundStructMethod · 0.95
encodeCompoundMapMethod · 0.95
encodeListMethod · 0.95

Calls 1

writeLongMethod · 0.95

Tested by

no test coverage detected