()
| 25 | } |
| 26 | |
| 27 | func (h Hash) Byte32() (b32 [32]byte) { |
| 28 | binary.BigEndian.PutUint64(b32[0:8], h.V0) |
| 29 | binary.BigEndian.PutUint64(b32[8:16], h.V1) |
| 30 | binary.BigEndian.PutUint64(b32[16:24], h.V2) |
| 31 | binary.BigEndian.PutUint64(b32[24:32], h.V3) |
| 32 | return b32 |
| 33 | } |
| 34 | |
| 35 | // HexString is a reader-friendlier alternative to the |
| 36 | // protoc-generated String method. |
no outgoing calls
no test coverage detected