You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// StringBase returns the Base s is in.funcStringBase(sstring) Base { ... }
// BufferBase returns the Base buf is in.funcBufferBase(buf []byte) Base { ... }
maybe even
typeEncodedReaderstruct {
R io.Reader// the underlying readerBBase// the base the reader is in
}
funcNewEncodedReader(r io.Reader) EncodedReader {
b:=consumeTheBaseCode(r)
returnEncodedReader{r, b}
}
func (er*EncodedReader) Decoded() io.Reader {
// return a reader that returns the decoded data
}
The text was updated successfully, but these errors were encountered:
Would be great to have:
maybe even
The text was updated successfully, but these errors were encountered: