MCPcopy Index your code
hub / github.com/0xsequence/czip / commitUint

Method commitUint

compressor/buffer.go:108–110  ·  view source on GitHub ↗
(i uint)

Source from the content-addressed store, hash-verified

106}
107
108func (cb *Buffer) commitUint(i uint) {
109 cb.commitByte(byte(i))
110}
111
112func (cb *Buffer) FindPastData(data []byte) int {
113 for i := 0; i+len(data) < len(cb.Commited); i++ {

Calls 1

commitByteMethod · 0.95

Tested by

no test coverage detected