Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blobcache/blobcache
/ SetBodyLen
Method
SetBodyLen
src/bcp/message.go:139–141 ·
view source on GitHub ↗
(bodyLen int)
Source
from the content-addressed store, hash-verified
137
}
138
139
func
(h *MessageHeader) SetBodyLen(bodyLen int) {
140
binary.LittleEndian.PutUint32(h[4:], uint32(bodyLen))
141
}
142
143
type
Message
struct
{
144
buf []byte
Callers
3
TestHeader
Function · 0.95
SetBody
Method · 0.80
SetSendable
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestHeader
Function · 0.76