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
+12
View File
@@ -147,6 +147,17 @@ type (
ContextReader
ContextWriter
}
/*
LenReader allows one to read bytes (conforming to [io.Reader]),
and also provides a Len() method which returns an int of remaining unread bytes.
[bytes.Buffer] and [bytes.Reader] conforms to this, but see [CtxIO] for
a package-provided type.
*/
LenReader interface {
io.Reader
Len() (unread int)
}
)
type (
@@ -172,6 +183,7 @@ type (
* [ChunkReadWriter]
* [ContextReadWriter]
* [SizedCopyBufferer]
* [LenReader]
Unlike [XIO], it must be non-nil (see [NewCtxIO]) since it maintains state
(though technically, one does not need to call [NewCtxIO] if they call