Documentation
¶
Index ¶
- type String
- func (s *String) Append(data []byte) int64
- func (s *String) BitCount(start, end int64) int64
- func (s *String) BitCountByBit(start, end int64) int64
- func (s *String) Decr(step int64) (int64, error)
- func (s *String) Get() []byte
- func (s *String) GetBit(offset int64) int64
- func (s *String) GetRange(start, end int64) []byte
- func (s *String) GetSet(v []byte) []byte
- func (s *String) GetValue() []byte
- func (s *String) Incr(step int64) (int64, error)
- func (s *String) IncrByFloat(step float64) (float64, error)
- func (s *String) Set(v []byte)
- func (s *String) SetBit(offset int64, value bool) int64
- func (s *String) SetRange(offset int64, data []byte) int64
- func (s *String) SetValue(data []byte)
- func (s *String) Strlen() int64
- func (s *String) Type() ds.ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String struct {
V []byte
}
func (*String) BitCountByBit ¶ added in v1.6.0
BitCountByBit counts the number of bits set to 1 by bit
func (*String) IncrByFloat ¶ added in v1.6.0
IncrByFloat increments the value by a float
Click to show internal directories.
Click to hide internal directories.