Class PRHelpers
java.lang.Object
com.biglybt.core.tracker.protocol.PRHelpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
addressToBytes
(String address) static int
addressToInt
(String address) static int
addressToInt
(InetAddress i_address) static long
addressToLong
(InetAddress i_address) static String
bytesToAddress
(byte[] bytes) static String
DNSToIPAddress
(String dns_name) static String
intToAddress
(int value)
-
Constructor Details
-
PRHelpers
public PRHelpers()
-
-
Method Details
-
addressToInt
- Throws:
UnknownHostException
-
addressToBytes
- Throws:
UnknownHostException
-
addressToInt
-
addressToLong
-
intToAddress
-
bytesToAddress
-
DNSToIPAddress
- Throws:
UnknownHostException
-