Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPathBuilder ¶
func GetPathBuilder() *fastpath.Builder
GetPathBuilder fetches a fastpath.Builder object from the pool.
func PutPathBuilder ¶
func PutPathBuilder(pb *fastpath.Builder)
PutPathBuilder places supplied fastpath.Builder back in the pool.
Types ¶
type ByteReaderSize ¶
type ByteReaderSize struct {
// contains filtered or unexported fields
}
ByteReaderSize implements ReaderSize for an in-memory byte-slice.
func NewByteReaderSize ¶
func NewByteReaderSize(b []byte) *ByteReaderSize
NewByteReaderSize returns a new ByteReaderSize instance reset to slice b.
func (*ByteReaderSize) Read ¶ added in v2.1.0
func (rs *ByteReaderSize) Read(b []byte) (int, error)
Read implements io.Reader.
func (*ByteReaderSize) Reset ¶
func (rs *ByteReaderSize) Reset(b []byte)
Reset resets the ReaderSize to be reading from b.
type ReaderSize ¶
ReaderSize defines a reader of known size in bytes.
Click to show internal directories.
Click to hide internal directories.