WordLen returns the size in bytes of the given array of Words.
(nat []big.Word)
| 737 | |
| 738 | // WordLen returns the size in bytes of the given array of Words. |
| 739 | func WordLen(nat []big.Word) int { |
| 740 | return len(nat) * bigWordSize |
| 741 | } |
| 742 | |
| 743 | // copyWords was adapted from math/big/nat.go. It writes the value of |
| 744 | // nat into buf using big-endian encoding. len(buf) must be >= len(nat)*bigWordSize. |
no outgoing calls
no test coverage detected
searching dependent graphs…