]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: StreamWriter.Closer docs + behavior change
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 17 Jun 2013 14:30:04 +0000 (07:30 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 17 Jun 2013 14:30:04 +0000 (07:30 -0700)
commit14e52c74bc7492098ea630bc84514fb427ef8bd9
tree9f6160820135ddb1cc437731a3fb031353ef8ea2
parentd660688f14baf29a84d1d7cbeea9eae92c15c60f
crypto/cipher: StreamWriter.Closer docs + behavior change

Don't panic when the underlying Writer isn't a Closer. And
document what Close does and clarify that it's not a Flush.

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/10310043
src/pkg/crypto/cipher/io.go