Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for other java-native address representations #31

Open
guusdk opened this issue Oct 10, 2024 · 0 comments · May be fixed by #32
Open

Add support for other java-native address representations #31

guusdk opened this issue Oct 10, 2024 · 0 comments · May be fixed by #32

Comments

@guusdk
Copy link

guusdk commented Oct 10, 2024

When dealing with IP addresses in Java, people commonly work with implementations of java.net.InetAddress and, to a lesser extent, byte arrays.

It would be handy if these representations could be used to feed into the various classes of this project directly.

guusdk added a commit to guusdk/commons-ip-math that referenced this issue Oct 10, 2024
Additional constructor and builder overloads are added to allow the API to accept instances of `Inet4Address` and `Inet6Address`, as well as byte arrays that represent IP addresses.

Fixes jgonian#31
guusdk added a commit to guusdk/commons-ip-math that referenced this issue Oct 10, 2024
Additional constructor and builder overloads are added to allow the API to accept instances of `Inet4Address` and `Inet6Address`, as well as byte arrays that represent IP addresses.

Fixes jgonian#31
@guusdk guusdk linked a pull request Oct 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant