Documentation ¶
Index ¶
- type ConcurrentBuffer
- func (b *ConcurrentBuffer) Bytes() []byte
- func (b *ConcurrentBuffer) Cap() int
- func (b *ConcurrentBuffer) Grow(n int)
- func (b *ConcurrentBuffer) Len() int
- func (b *ConcurrentBuffer) Next(n int) []byte
- func (b *ConcurrentBuffer) Read(p []byte) (n int, err error)
- func (b *ConcurrentBuffer) ReadByte() (c byte, err error)
- func (b *ConcurrentBuffer) ReadBytes(delim byte) (line []byte, err error)
- func (b *ConcurrentBuffer) ReadFrom(r io.Reader) (n int64, err error)
- func (b *ConcurrentBuffer) ReadRune() (r rune, size int, err error)
- func (b *ConcurrentBuffer) ReadString(delim byte) (line string, err error)
- func (b *ConcurrentBuffer) Reset()
- func (b *ConcurrentBuffer) String() string
- func (b *ConcurrentBuffer) Truncate(n int)
- func (b *ConcurrentBuffer) UnreadByte() error
- func (b *ConcurrentBuffer) UnreadRune() error
- func (b *ConcurrentBuffer) Write(p []byte) (n int, err error)
- func (b *ConcurrentBuffer) WriteByte(c byte) error
- func (b *ConcurrentBuffer) WriteRune(r rune) (n int, err error)
- func (b *ConcurrentBuffer) WriteString(s string) (n int, err error)
- func (b *ConcurrentBuffer) WriteTo(w io.Writer) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentBuffer ¶
type ConcurrentBuffer struct {
// contains filtered or unexported fields
}
func NewConcurrentBuffer ¶
func NewConcurrentBuffer() ConcurrentBuffer
constructor like function for concurrent buffer
func NewConcurrentBufferPtr ¶
func NewConcurrentBufferPtr() *ConcurrentBuffer
constructor like function for concurrent buffer
func (*ConcurrentBuffer) Bytes ¶
func (b *ConcurrentBuffer) Bytes() []byte
func (*ConcurrentBuffer) Cap ¶
func (b *ConcurrentBuffer) Cap() int
func (*ConcurrentBuffer) Grow ¶
func (b *ConcurrentBuffer) Grow(n int)
func (*ConcurrentBuffer) Len ¶
func (b *ConcurrentBuffer) Len() int
func (*ConcurrentBuffer) Next ¶
func (b *ConcurrentBuffer) Next(n int) []byte
func (*ConcurrentBuffer) ReadByte ¶
func (b *ConcurrentBuffer) ReadByte() (c byte, err error)
func (*ConcurrentBuffer) ReadBytes ¶
func (b *ConcurrentBuffer) ReadBytes(delim byte) (line []byte, err error)
func (*ConcurrentBuffer) ReadFrom ¶
func (b *ConcurrentBuffer) ReadFrom(r io.Reader) (n int64, err error)
func (*ConcurrentBuffer) ReadRune ¶
func (b *ConcurrentBuffer) ReadRune() (r rune, size int, err error)
func (*ConcurrentBuffer) ReadString ¶
func (b *ConcurrentBuffer) ReadString(delim byte) (line string, err error)
func (*ConcurrentBuffer) Reset ¶
func (b *ConcurrentBuffer) Reset()
func (*ConcurrentBuffer) String ¶
func (b *ConcurrentBuffer) String() string
func (*ConcurrentBuffer) Truncate ¶
func (b *ConcurrentBuffer) Truncate(n int)
func (*ConcurrentBuffer) UnreadByte ¶
func (b *ConcurrentBuffer) UnreadByte() error
func (*ConcurrentBuffer) UnreadRune ¶
func (b *ConcurrentBuffer) UnreadRune() error
func (*ConcurrentBuffer) WriteByte ¶
func (b *ConcurrentBuffer) WriteByte(c byte) error
func (*ConcurrentBuffer) WriteRune ¶
func (b *ConcurrentBuffer) WriteRune(r rune) (n int, err error)
func (*ConcurrentBuffer) WriteString ¶
func (b *ConcurrentBuffer) WriteString(s string) (n int, err error)
Click to show internal directories.
Click to hide internal directories.