mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 05:26:51 -04:00
12 lines
135 B
Go
12 lines
135 B
Go
package common
|
|
|
|
import (
|
|
"encoding/binary"
|
|
)
|
|
|
|
func Integer(number ...byte) int {
|
|
return int(
|
|
binary.BigEndian.Uint64(number),
|
|
)
|
|
}
|