Home | History | Annotate | Download | only in base64

Lines Matching defs:Decode

279 	// Decode quantum using the base64 alphabet
376 n, err := enc.Decode(dbuf, []byte(s))
420 // Decode final fragment, without padding.
422 nw, d.err = d.enc.Decode(d.outbuf[:], d.buf[:d.nbuf])
441 // Decode chunk into p, or d.out and then p if p is too small.
445 nw, d.err = d.enc.Decode(d.outbuf[:], d.buf[:nr])
450 n, d.err = d.enc.Decode(p, d.buf[:nr])
457 // Decode decodes src using the encoding enc. It writes at most
462 func (enc *Encoding) Decode(dst, src []byte) (n int, err error) {
509 // decode32 tries to decode 4 base64 char into 3 bytes.
511 // Returns true if decode succeeded.
535 // decode64 tries to decode 8 base64 char into 6 bytes.
537 // Returns true if decode succeeded.