MCPcopy Create free account
hub / github.com/apache/fory / WriteFloat64

Method WriteFloat64

go/fory/buffer.go:278–282  ·  view source on GitHub ↗
(value float64)

Source from the content-addressed store, hash-verified

276}
277
278func (b *ByteBuffer) WriteFloat64(value float64) {
279 b.grow(8)
280 binary.LittleEndian.PutUint64(b.data[b.writerIndex:], Float64bits(value))
281 b.writerIndex += 8
282}
283
284func (b *ByteBuffer) Write(p []byte) (n int, err error) {
285 b.grow(len(p))

Callers 13

testBufferFunction · 0.95
WriteFloat64SliceFunction · 0.45
WriteDataMethod · 0.45
writeRemainingFieldMethod · 0.45
writeOptionFastFunction · 0.45
SerializeFunction · 0.45
writeMapStringFloat64Function · 0.45
writeFloat64ListValuesFunction · 0.45
WriteDataMethod · 0.45
RawFloat64Method · 0.45
writeFastMethod · 0.45
WriteTypedMethod · 0.45

Calls 2

growMethod · 0.95
Float64bitsFunction · 0.85

Tested by

no test coverage detected