Documentation
¶
Index ¶
- type HashedRingBuffer
- func (h HashedRingBuffer) Bytes() []byte
- func (h HashedRingBuffer) CheckSum() []byte
- func (h HashedRingBuffer) CheckSumHex() string
- func (h *HashedRingBuffer) ReadNFrom(input *os.File, bytes int64) (int64, error)
- func (h HashedRingBuffer) RollingSum() []byte
- func (h HashedRingBuffer) RollingSumHex() string
- func (h *HashedRingBuffer) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashedRingBuffer ¶
type HashedRingBuffer struct {
// contains filtered or unexported fields
}
func NewHashedBuffer ¶
func NewHashedBuffer(size int) *HashedRingBuffer
func (HashedRingBuffer) Bytes ¶
func (h HashedRingBuffer) Bytes() []byte
func (HashedRingBuffer) CheckSum ¶
func (h HashedRingBuffer) CheckSum() []byte
func (HashedRingBuffer) CheckSumHex ¶
func (h HashedRingBuffer) CheckSumHex() string
func (HashedRingBuffer) RollingSum ¶
func (h HashedRingBuffer) RollingSum() []byte
func (HashedRingBuffer) RollingSumHex ¶
func (h HashedRingBuffer) RollingSumHex() string
Click to show internal directories.
Click to hide internal directories.