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

Method SetStrict

thrift/decode.go:80–86  ·  view source on GitHub ↗
(enabled bool)

Source from the content-addressed store, hash-verified

78}
79
80func (d *Decoder) SetStrict(enabled bool) {
81 if enabled {
82 d.f = d.f.with(strict)
83 } else {
84 d.f = d.f.without(strict)
85 }
86}
87
88func decoderFlags(r Reader) flags {
89 return flags(r.Protocol().Features() << featuresBitOffset)

Callers

nothing calls this directly

Calls 2

withMethod · 0.45
withoutMethod · 0.45

Tested by

no test coverage detected