Home | History | Annotate | Download | only in base32

Lines Matching refs:Decode

234 // decode is like Decode but returns an additional 'end' value, which
238 func (enc *Encoding) decode(dst, src []byte) (n int, end bool, err error) {
241 // Decode quantum using the base32 alphabet
268 // src bytes do not yield enough information to decode a dst byte.
316 // Decode decodes src using the encoding enc. It writes at most
321 func (enc *Encoding) Decode(dst, src []byte) (n int, err error) {
323 n, _, err = enc.decode(dst, src)
331 n, _, err := enc.decode(dbuf, []byte(s))
372 // Decode chunk into p, or d.out and then p if p is too small.
376 nw, d.end, d.err = d.enc.decode(d.outbuf[0:], d.buf[0:nr])
381 n, d.end, d.err = d.enc.decode(p, d.buf[0:nr])