MCPcopy Create free account
hub / github.com/Monibuca/engine / ReadUint64

Method ReadUint64

util/buffer.go:123–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 return math.Float64frombits(b.ReadUint64())
122}
123func (b *Buffer) ReadUint64() uint64 {
124 return binary.BigEndian.Uint64(b.ReadN(8))
125}
126func (b *Buffer) ReadUint32() uint32 {
127 return binary.BigEndian.Uint32(b.ReadN(4))
128}

Callers 1

ReadFloat64Method · 0.95

Calls 2

ReadNMethod · 0.95
Uint64Method · 0.45

Tested by

no test coverage detected