mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
internal/stream: fix readChunk documentation (#163)
r.c was renamed to r.src.
This commit is contained in:
parent
4147b86ac8
commit
a02075a0cc
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ func (r *Reader) Read(p []byte) (int, error) {
|
|||
return n, nil
|
||||
}
|
||||
|
||||
// readChunk reads the next chunk of ciphertext from r.c and makes it available
|
||||
// readChunk reads the next chunk of ciphertext from r.src and makes it available
|
||||
// in r.unread. last is true if the chunk was marked as the end of the message.
|
||||
// readChunk must not be called again after returning a last chunk or an error.
|
||||
func (r *Reader) readChunk() (last bool, err error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue