diff options
| author | Tim Cooper <tim.cooper@layeh.com> | 2017-09-27 19:46:58 -0300 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-11-01 21:04:12 +0000 |
| commit | 731b6321728eb53e6087dc877344878b06cc4b06 (patch) | |
| tree | 05193f7e0aafe3624b42a6dbbc901f8c7178334a /src/net/http | |
| parent | 14bc4f5e5fd5a113c97bdf1455b4f7d36a81f54b (diff) | |
| download | go-731b6321728eb53e6087dc877344878b06cc4b06.tar.xz | |
crypto, hash: implement BinaryMarshaler, BinaryUnmarshaler in hash implementations
The marshal method allows the hash's internal state to be serialized and
unmarshaled at a later time, without having the re-write the entire stream
of data that was already written to the hash.
Fixes #20573
Change-Id: I40bbb84702ac4b7c5662f99bf943cdf4081203e5
Reviewed-on: https://go-review.googlesource.com/66710
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
