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

Method ReadFloat64

go/fory/buffer.go:400–402  ·  view source on GitHub ↗

ReadFloat64 reads a float64 and sets error on bounds violation

(err *Error)

Source from the content-addressed store, hash-verified

398
399// ReadFloat64 reads a float64 and sets error on bounds violation
400func (b *ByteBuffer) ReadFloat64(err *Error) float64 {
401 return Float64frombits(b.ReadUint64(err))
402}
403
404func (b *ByteBuffer) Read(p []byte) (n int, err error) {
405 if len(p) == 0 {

Callers 15

testBufferFunction · 0.95
ReadFloat64SliceFunction · 0.45
ReadDataMethod · 0.45
readRemainingFieldMethod · 0.45
readOptionFastFunction · 0.45
readFieldsInOrderMethod · 0.45
skipValueFunction · 0.45
RawFloat64Method · 0.45
readFastMethod · 0.45
DeserializeFunction · 0.45
readMapStringFloat64Function · 0.45

Calls 2

ReadUint64Method · 0.95
Float64frombitsFunction · 0.85

Tested by

no test coverage detected