MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / ParseBinaryFloat32

Function ParseBinaryFloat32

IceFireDB-SQLite/pkg/mysql/mysql/parse_binary.go:52–54  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

50}
51
52func ParseBinaryFloat32(data []byte) float32 {
53 return math.Float32frombits(binary.LittleEndian.Uint32(data))
54}
55
56func ParseBinaryFloat64(data []byte) float64 {
57 return math.Float64frombits(binary.LittleEndian.Uint64(data))

Callers 1

ParseBinaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected