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

Method withKind

json/json.go:92–94  ·  view source on GitHub ↗
(kind Kind)

Source from the content-addressed store, hash-verified

90}
91
92func (f ParseFlags) withKind(kind Kind) ParseFlags {
93 return (f & ^(ParseFlags(0xFF) << kindOffset)) | (ParseFlags(kind) << kindOffset)
94}
95
96const (
97 // DisallowUnknownFields is a parsing flag used to prevent decoding of

Callers 1

NextMethod · 0.80

Calls 1

ParseFlagsTypeAlias · 0.85

Tested by

no test coverage detected