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

Method readDouble

protocol/nbt/decoder.go:1072–1075  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1070}
1071
1072func (d *Decoder) readDouble() (float64, error) {
1073 i, err := d.readLong()
1074 return math.Float64frombits(uint64(i)), err
1075}
1076
1077func (d *Decoder) readString() (string, error) {
1078 l, err := d.readShort()

Callers 5

decodeCompoundMapMethod · 0.95
decodeCompoundStructMethod · 0.95
decodeListMethod · 0.95
decodeCompoundMethod · 0.95
_decodeListMethod · 0.95

Calls 1

readLongMethod · 0.95

Tested by

no test coverage detected