feat: Add getters in YggAddress class

This commit is contained in:
ChronosX88 2019-08-21 17:35:24 +04:00
parent 2e779121ee
commit 8e160b1dcd
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -48,6 +48,14 @@ public class YggAddress {
}
}
public byte[] getAddressBytes() {
return addressBytes;
}
public InetAddress getInetAddress() {
return address;
}
public static byte[] getPrefix() {
return new byte[]{0x02};
}