Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidStructLen = errors.New("invalid struct_len") // 1B<struct_len<1MB ErrInvalidDataLen = errors.New("invalid data_len") )
Functions ¶
Types ¶
type Constructor ¶ added in v0.2.0
type Constructor struct {
// contains filtered or unexported fields
}
func (*Constructor) Cap ¶ added in v0.2.0
func (c *Constructor) Cap() uint32
Cap structlen 目前写入的总长, 带 padding
func (*Constructor) Len ¶ added in v0.2.0
func (c *Constructor) Len() uint32
Len reallen 目前写入的实值总长, 不带 padding
func (*Constructor) WriteString ¶ added in v0.2.0
func (c *Constructor) WriteString(s string, cap uint32) error
WriteString 按字符串写入一项
type Iterator ¶ added in v0.2.0
type Iterator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.