chunk example fix

This commit is contained in:
Tnze
2021-04-04 10:29:30 +08:00
parent 086b77f389
commit 4976a5e72d
2 changed files with 5 additions and 6 deletions

View File

@ -20,7 +20,7 @@ import (
// Note that Ary DO NOT read or write the Len. You are controlling it manually.
type Ary struct {
Len interface{} // Value or Pointer of any integer type, only needed in ReadFrom
Ary interface{} // Slice of FieldEncoder, FieldDecoder or both (Field)
Ary interface{} // Slice or Pointer of Slice of FieldEncoder, FieldDecoder or both (Field)
}
func (a Ary) WriteTo(r io.Writer) (n int64, err error) {