ADDED:
* netx.IsPub
* encodingx/hexx

Rest are mostly small corrections and docs
This commit is contained in:
brent saner
2026-06-22 18:51:13 -04:00
parent c6fc692f5e
commit 58556d7281
35 changed files with 5492 additions and 2486 deletions
+30
View File
@@ -0,0 +1,30 @@
package hexx
import (
`io`
)
/*
HexString returns a custom-formatted hex representation of b.
*/
func HexString(b []byte, opts ...hexStrFmtrOpt) (out string) {
// TODO
return
}
/*
HexStringStream encodes a stream read from r and written into w.
HexStringStream will return cleanly if r returns no more bytes or if an [io.EOF] is encountered (the [io.EOF] will not be returned).
Any other error will immediately halt reading/writing and will b returned in err.
If w is of a fixed capacity, it must be at least 2x the size of r's capacity.
*/
func HexStringStream(r io.Reader, w io.Writer, opts ...hexStrFmtrOpt) (read, wrtn uint64, err error) {
// TODO
return
}