code: func NewRegretableReaderSize(r io.Reader, size int) *RegretableReader {
  	return &RegretableReader{reader: r, buf: make([]byte, size)}
  }
docs: // initialize a RegretableReader with underlying reader r, whose buffer is size bytes long