Documentation
¶
Index ¶
- type Stream
- func (s *Stream) IsEmpty() (bool, error)
- func (s *Stream) Peek(n int) ([]byte, error)
- func (s *Stream) PeekUntil(delim []byte) ([]byte, error)
- func (s *Stream) PeekUntilByte(delim byte) ([]byte, error)
- func (s *Stream) PeekUpTo(n int) ([]byte, error)
- func (s *Stream) Read(n int) ([]byte, error)
- func (s *Stream) ReadAll() ([]byte, error)
- func (s *Stream) ReadUntil(delim []byte) ([]byte, error)
- func (s *Stream) ReadUntilAndSkip(delim []byte) ([]byte, error)
- func (s *Stream) ReadUntilByte(delim byte) ([]byte, error)
- func (s *Stream) ReadUntilByteAndSkip(delim byte) ([]byte, error)
- func (s *Stream) ReadWhile(fn func(byte) bool) ([]byte, error)
- func (s *Stream) Skip(n int) error
- func (s *Stream) SkipByte(b byte) (bool, error)
- func (s *Stream) SkipBytes(bs []byte) (bool, error)
- func (s *Stream) SkipWhile(fn func(byte) bool) error
- func (s *Stream) StartsWithByte(b byte) (bool, error)
- func (s *Stream) StartsWithBytes(bs []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.