Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheBuffer ¶
type CacheBuffer struct {
// contains filtered or unexported fields
}
CacheBuffer -
func NewCacheBuffer ¶
func NewCacheBuffer(src io.Reader, bufSize int) *CacheBuffer
NewCacheBuffer creates a new CacheBuffer with a Reader and bufferSize
func (CacheBuffer) Buffer ¶
func (cb CacheBuffer) Buffer() []byte
Buffer returns the []byte from CacheBuffer Warning: only returns what has been read so far.
Click to show internal directories.
Click to hide internal directories.