Versions in this module Expand all Collapse all v0 v0.0.3 Nov 14, 2021 Changes in this version + type Cache struct + Complete *bool + Content *[]byte + Cursor int + Reader io.ByteReadCloser + func NewCache(r io.ByteReadCloser) *Cache + func NewCacheWithContent(r io.ByteReadCloser, c *[]byte, i int) *Cache + func (c *Cache) Close() error + func (c *Cache) Read(p []byte) (n int, err error) + func (c *Cache) ReadAll() ([]byte, error) + func (c *Cache) ReadAllAndClose() ([]byte, error) + func (c *Cache) ReadAt(i int) (byte, error) + func (c *Cache) ReadByte() (byte, error) + func (c *Cache) ReadBytes(delim byte) ([]byte, error) + func (c *Cache) ReadFirst() (byte, error) + func (c *Cache) ReadRange(start int, end int) ([]byte, error) + func (c *Cache) ReadString(delim byte) (string, error)