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

Method ReadFloat32

go/fory/buffer.go:395–397  ·  view source on GitHub ↗

ReadFloat32 reads a float32 and sets error on bounds violation

(err *Error)

Source from the content-addressed store, hash-verified

393
394// ReadFloat32 reads a float32 and sets error on bounds violation
395func (b *ByteBuffer) ReadFloat32(err *Error) float32 {
396 return Float32frombits(b.ReadUint32(err))
397}
398
399// ReadFloat64 reads a float64 and sets error on bounds violation
400func (b *ByteBuffer) ReadFloat64(err *Error) float64 {

Callers 14

testBufferFunction · 0.95
ReadFloat32SliceFunction · 0.45
ReadDataMethod · 0.45
readRemainingFieldMethod · 0.45
readOptionFastFunction · 0.45
readFieldsInOrderMethod · 0.45
skipValueFunction · 0.45
RawFloat32Method · 0.45
readFastMethod · 0.45
DeserializeFunction · 0.45
readArrayValuesMethod · 0.45

Calls 2

ReadUint32Method · 0.95
Float32frombitsFunction · 0.85

Tested by

no test coverage detected