Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blobcache/blobcache
/ SetObjectType
Method
SetObjectType
src/bcp/message.go:24–26 ·
view source on GitHub ↗
(oc uint8)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
(mt *MessageCode) SetObjectType(oc uint8) {
25
*mt = (*mt & 0x00ff) | (MessageCode(oc) << 8)
26
}
27
28
func
(mt *MessageCode) SetOpCode(oc uint8) {
29
*mt = (*mt & 0xff00) | MessageCode(oc)
Callers
1
Code
Method · 0.80
Calls
1
MessageCode
TypeAlias · 0.85
Tested by
no test coverage detected