MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / WriteDouble

Method WriteDouble

utils/binary/builder.go:201–203  ·  view source on GitHub ↗
(v float64)

Source from the content-addressed store, hash-verified

199}
200
201func (b *Builder) WriteDouble(v float64) *Builder {
202 return b.WriteU64(math.Float64bits(v))
203}
204
205func (b *Builder) WriteTLV(tlvs ...[]byte) *Builder {
206 b.WriteU16(uint16(len(tlvs)))

Callers

nothing calls this directly

Calls 1

WriteU64Method · 0.95

Tested by

no test coverage detected