Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ WriteBits
Method
WriteBits
util/bits/bits.go:87–89 ·
view source on GitHub ↗
(bits uint, n int)
Source
from the content-addressed store, hash-verified
85
}
86
87
func
(self *Writer) WriteBits(bits uint, n int) (err error) {
88
return
self.WriteBits64(uint64(bits), n)
89
}
90
91
func
(self *Writer) Write(p []byte) (n int, err error) {
92
for
n < len(p) {
Callers
1
TestBits
Function · 0.95
Calls
1
WriteBits64
Method · 0.95
Tested by
1
TestBits
Function · 0.76