Skip to content

Commit

Permalink
Export EDNS0 interface (miekg#1041)
Browse files Browse the repository at this point in the history
Replace all the private methods in the EDNS0 with public methods.
Additionally, as suggested in issue miekg#857, made Pack receive a
pre-allocated byte array, introduce a Len method, and have Pack
and Unpack return the number of octets written and read (respectively)
if there was no error.

Closes miekg#857
  • Loading branch information
omeranson authored and miekg committed Dec 6, 2019
1 parent 22cda6d commit a98e771
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 129 deletions.

0 comments on commit a98e771

Please sign in to comment.