mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-08 21:03:05 +00:00
internal/stream: fix readChunk documentation (#163)
r.c was renamed to r.src.
This commit is contained in:
committed by
GitHub
parent
4147b86ac8
commit
a02075a0cc
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user