Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
201
func
(b *Builder) WriteDouble(v float64) *Builder {
202
return
b.WriteU64(math.Float64bits(v))
203
}
204
205
func
(b *Builder) WriteTLV(tlvs ...[]byte) *Builder {
206
b.WriteU16(uint16(len(tlvs)))
Callers
nothing calls this directly
Calls
1
WriteU64
Method · 0.95
Tested by
no test coverage detected