Skip to content

Commit

Permalink
Support DNS bytes to string
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Sep 5, 2022
1 parent 01a1470 commit c80edbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/ipfs/multiaddr/Protocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public String readAddress(InputStream in) throws IOException {
buf = new byte[sizeForAddress];
read(in, buf);
return new String(buf);
case DNS:
case DNS4:
case DNS6:
case DNSADDR:
Expand Down

0 comments on commit c80edbe

Please sign in to comment.