Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Debug = false
)
Functions ¶
Types ¶
type BytesRingBuffer ¶
type BytesRingBuffer struct {
// contains filtered or unexported fields
}
func NewStringRingBuffer ¶
func NewStringRingBuffer(capacity int) *BytesRingBuffer
func (*BytesRingBuffer) Add ¶
func (b *BytesRingBuffer) Add(bytes []byte)
func (*BytesRingBuffer) Clear ¶
func (b *BytesRingBuffer) Clear()
func (*BytesRingBuffer) For ¶
func (b *BytesRingBuffer) For(maxLoop int, f func(bytes []byte))
func (*BytesRingBuffer) Length ¶
func (b *BytesRingBuffer) Length() int
Click to show internal directories.
Click to hide internal directories.