MCPcopy Create free account
hub / github.com/egonelbre/exp / readFull

Method readFull

smime/ber/decoder.go:90–94  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

88}
89
90func (d *Decoder) readFull(data []byte) error {
91 n, err := io.ReadFull(d.r, data)
92 d.nextByte += n
93 return err
94}
95
96// Returns the next token in the input stream. At the end of the input stream, Token returns nil, io.EOF.
97func (d *Decoder) Token() (t *Token, err error) {

Callers 1

TokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected