1
0
Fork 0
mirror of https://github.com/Luzifer/scs-extract.git synced 2024-12-20 21:41:16 +00:00
scs-extract/b0rkhash/uint128.go
Knut Ahlers fcfc8b0949
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-10-23 20:19:02 +02:00

14 lines
242 B
Go

package b0rkhash
// Uint128 type uint128
type Uint128 [2]uint64
// Low64 return the low 64-bit of u.
func (u Uint128) Low64() uint64 {
return u[0]
}
// High64 return the high 64-bit of u.
func (u Uint128) High64() uint64 {
return u[1]
}