MCPcopy Create free account
hub / github.com/CrowdStrike/csproto / SetMode

Method SetMode

decoder.go:80–82  ·  view source on GitHub ↗

SetMode configures the decoding behavior, safe vs fastest.

(m DecoderMode)

Source from the content-addressed store, hash-verified

78
79// SetMode configures the decoding behavior, safe vs fastest.
80func (d *Decoder) SetMode(m DecoderMode) {
81 d.mode = m
82}
83
84// Seek sets the position of the next read operation to [offset], interpreted according to [whence]:
85// [io.SeekStart] means relative to the start of the data, [io.SeekCurrent] means relative to the

Callers 2

decodeMethod · 0.95

Calls

no outgoing calls

Tested by 1