mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-14 14:31:03 +00:00
feat: Add getters in YggAddress class
This commit is contained in:
parent
2e779121ee
commit
8e160b1dcd
@ -48,6 +48,14 @@ public class YggAddress {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public byte[] getAddressBytes() {
|
||||||
|
return addressBytes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public InetAddress getInetAddress() {
|
||||||
|
return address;
|
||||||
|
}
|
||||||
|
|
||||||
public static byte[] getPrefix() {
|
public static byte[] getPrefix() {
|
||||||
return new byte[]{0x02};
|
return new byte[]{0x02};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user