Documentation ¶
Index ¶
- type Diff
- type Filter
- func (f *Filter) Add(b []byte)
- func (f *Filter) Clone() *Filter
- func (f *Filter) Decode() (*Diff, error)
- func (f Filter) Diff(other Filter, diff *Filter) error
- func (f Filter) K() int
- func (f Filter) MarshalBinary() (data []byte, err error)
- func (f Filter) N() int
- func (f *Filter) Remove(b []byte)
- func (f *Filter) Sub(other Filter) error
- func (f *Filter) UnmarshalBinary(data []byte) error
- type IbltParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter is totally NOT thread-safe!
func NewFromNumItems ¶
func (*Filter) Decode ¶
Decode is distructive! One can apply the diff produced (even in case of error) to restore the previous state.
func (Filter) MarshalBinary ¶
func (*Filter) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.