MCPcopy
hub / github.com/TarsCloud/TarsGo / NewReader

Function NewReader

tars/protocol/codec/codec.go:883–885  ·  view source on GitHub ↗

NewReader returns *Reader

(data []byte)

Source from the content-addressed store, hash-verified

881
882// NewReader returns *Reader
883func NewReader(data []byte) *Reader {
884 return &Reader{buf: bytes.NewReader(data), ref: data}
885}
886
887// NewBuffer returns *Buffer
888func NewBuffer(args ...*bytes.Buffer) *Buffer {

Callers 15

InvokeMethod · 0.92
InvokeTimeoutMethod · 0.92
ResponseUnpackMethod · 0.92
InvokeMethod · 0.92
GetTokensWithContextMethod · 0.92
ApplyTokenWithContextMethod · 0.92
DispatchMethod · 0.92
DispatchMethod · 0.92

Calls

no outgoing calls

Tested by 2

rFunction · 0.68