Home | History | Annotate | Download | only in base32

Lines Matching full:dbuf

92 		dbuf := make([]byte, StdEncoding.DecodedLen(len(p.encoded)))
93 count, end, err := StdEncoding.decode(dbuf, []byte(p.encoded))
100 string(dbuf[0:count]),
103 dbuf, err = StdEncoding.DecodeString(p.encoded)
105 testEqual(t, "DecodeString(%q) = %q, want %q", p.encoded, string(dbuf), p.decoded)
112 dbuf := make([]byte, StdEncoding.DecodedLen(len(p.encoded)))
113 count, err := decoder.Read(dbuf)
118 testEqual(t, "Decoding of %q = %q, want %q", p.encoded, string(dbuf[0:count]), p.decoded)
120 count, err = decoder.Read(dbuf)
170 dbuf := make([]byte, StdEncoding.DecodedLen(len(tc.input)))
171 _, err := StdEncoding.Decode(dbuf, []byte(tc.input))