Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/egonelbre/exp
/ Encode
Method
Encode
coder/arith/models.go:27–30 ·
view source on GitHub ↗
(enc *Encoder, bit uint)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(m *Shift) Encode(enc *Encoder, bit uint) {
28
enc.Encode(bit, m.P)
29
m.adapt(bit)
30
}
31
32
func
(m *Shift) Decode(dec *Decoder) (bit uint) {
33
bit = dec.Decode(m.P)
Callers
nothing calls this directly
Calls
2
adapt
Method · 0.95
Encode
Method · 0.65
Tested by
no test coverage detected