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 aanm committed Jul 29, 2022
1 parent d8d05e6 commit 81947ad
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 129 deletions.

0 comments on commit 81947ad

Please sign in to comment.