Documentation ¶
Overview ¶
Package bytesx implements bytes extensions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResetReader ¶
type ResetReader struct {
// contains filtered or unexported fields
}
ResetReader implements the io.Reader reading from a resettable byte slice.
func NewResetReader ¶
func NewResetReader(b []byte) *ResetReader
NewResetReader returns a new ResetReader reading from b.
func (*ResetReader) Read ¶
func (r *ResetReader) Read(p []byte) (int, error)
Read reads bytes into p.
func (*ResetReader) Reset ¶
func (r *ResetReader) Reset(b []byte)
Reset resets the byte slice being read from.
Click to show internal directories.
Click to hide internal directories.