MCPcopy Create free account
hub / github.com/segmentio/encoding / Reset

Method Reset

thrift/decode.go:75–78  ·  view source on GitHub ↗
(r Reader)

Source from the content-addressed store, hash-verified

73}
74
75func (d *Decoder) Reset(r Reader) {
76 d.r = r
77 d.f = d.f.without(protocolFlags).with(decoderFlags(r))
78}
79
80func (d *Decoder) SetStrict(enabled bool) {
81 if enabled {

Callers

nothing calls this directly

Calls 3

decoderFlagsFunction · 0.85
withMethod · 0.45
withoutMethod · 0.45

Tested by

no test coverage detected