MCPcopy Create free account
hub / github.com/brimdata/super / WriteBytes

Method WriteBytes

csup/scode.go:54–57  ·  view source on GitHub ↗
(bytes scode.Bytes)

Source from the content-addressed store, hash-verified

52}
53
54func (p *ScodeEncoder) WriteBytes(bytes scode.Bytes) {
55 p.update(bytes)
56 p.bytes = scode.Append(p.bytes, bytes)
57}
58
59func (p *ScodeEncoder) update(body scode.Bytes) {
60 p.count++

Callers 1

DictMethod · 0.95

Calls 2

updateMethod · 0.95
AppendFunction · 0.92

Tested by

no test coverage detected