MCPcopy Index your code
hub / github.com/Monibuca/engine / WriteFloat64

Method WriteFloat64

util/buffer.go:138–140  ·  view source on GitHub ↗
(v float64)

Source from the content-addressed store, hash-verified

136 return b.ReadN(1)[0]
137}
138func (b *Buffer) WriteFloat64(v float64) {
139 PutBE(b.Malloc(8), math.Float64bits(v))
140}
141func (b *Buffer) WriteUint32(v uint32) {
142 binary.BigEndian.PutUint32(b.Malloc(4), v)
143}

Callers

nothing calls this directly

Calls 2

MallocMethod · 0.95
PutBEFunction · 0.85

Tested by

no test coverage detected