MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Init

Method Init

pkg/util/base64/base64.go:31–35  ·  view source on GitHub ↗

Init initializes an Encoder with the given base64.Encoding.

(enc *base64.Encoding)

Source from the content-addressed store, hash-verified

29
30// Init initializes an Encoder with the given base64.Encoding.
31func (e *Encoder) Init(enc *base64.Encoding) {
32 *e = Encoder{
33 enc: enc,
34 }
35}
36
37// Write encodes p in an internal buffer.
38func (e *Encoder) Write(p []byte) {

Callers 5

StringMethod · 0.95
NewManualTimeFunction · 0.45
ParseMethod · 0.45
NewRangeListFunction · 0.45
ClearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected