Files
go_goutils/encodingx/hexx/funcs.go
T
brent saner 58556d7281 v1.16.9
ADDED:
* netx.IsPub
* encodingx/hexx

Rest are mostly small corrections and docs
2026-06-22 18:51:13 -04:00

31 lines
675 B
Go

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
}