mirror of
https://github.com/Luzifer/scs-extract.git
synced 2024-11-09 12:30:00 +00:00
15 lines
242 B
Go
15 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]
|
||
|
}
|