aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2020-04-27 21:52:38 -0400
committerFilippo Valsorda <filippo@golang.org>2020-05-05 00:36:44 +0000
commitc9d5f60eaa4450ccf1ce878d55b4c6a12843f2f3 (patch)
tree099593dca9e78212c29c48640fe0427c24f9e31c /src/runtime
parentb5f7ff4aa9c1fef6437f350595caae4ee4b5708d (diff)
downloadgo-c9d5f60eaa4450ccf1ce878d55b4c6a12843f2f3.tar.xz
math/big: add (*Int).FillBytes
Replaced almost every use of Bytes with FillBytes. Note that the approved proposal was for func (*Int) FillBytes(buf []byte) while this implements func (*Int) FillBytes(buf []byte) []byte because the latter was far nicer to use in all callsites. Fixes #35833 Change-Id: Ia912df123e5d79b763845312ea3d9a8051343c0a Reviewed-on: https://go-review.googlesource.com/c/go/+/230397 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions