mirror of
https://github.com/Luzifer/scs-extract.git
synced 2024-12-20 21:41:16 +00:00
14 lines
242 B
Go
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]
|
|
}
|