Documentation
¶
Index ¶
- type Buffer
- func (b *Buffer[T]) CanShrink() bool
- func (b *Buffer[T]) Cap() int
- func (b *Buffer[T]) Compact()
- func (b *Buffer[T]) Discard() bool
- func (b *Buffer[T]) Grow(n int)
- func (b *Buffer[T]) Len() int
- func (b *Buffer[T]) Peek() (T, bool)
- func (b *Buffer[T]) Read() (T, bool)
- func (b *Buffer[T]) Reset()
- func (b *Buffer[T]) Shrink()
- func (b *Buffer[T]) Write(v T)
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.