Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
awnumar committed Nov 27, 2019
1 parent cf864b0 commit 34f885f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ Read decrypts and places some data from a Stream object into a provided buffer.
If there is no data, the call will return an io.EOF error. If the caller provides a buffer
that is too small to hold the next chunk of data, the remaining bytes are re-encrypted and
added to the front of the queue to be returned in the next call. In this case an
io.ErrShortBuffer error is also returned.
added to the front of the queue to be returned in the next call.
*/
func (s *Stream) Read(buf []byte) (int, error) {
s.Lock()
Expand Down

0 comments on commit 34f885f

Please sign in to comment.