Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TarsCloud/TarsGo
/ Reset
Method
Reset
tars/protocol/codec/codec.go:355–358 ·
view source on GitHub ↗
Reset clean the Reader.
(data []byte)
Source
from the content-addressed store, hash-verified
353
354
// Reset clean the Reader.
355
func
(b *Reader) Reset(data []byte) {
356
b.buf.Reset(data)
357
b.ref = data
358
}
359
360
//go:nosplit
361
func
(b *Reader) readHead() (ty, tag byte, err error) {
Callers
9
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Dispatch
Method · 0.95
Calls
1
Reset
Method · 0.45
Tested by
no test coverage detected