Code generated by go run decgen.go -output dec_helpers.go; DO NOT EDIT.
Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decBoolSlice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]bool)
It is kind bool but not type bool. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding bool array or slice: length exceeds input size (%d elements)", )
		}
		[] = .decodeUint() != 0
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decComplex64Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]complex64)
It is kind complex64 but not type complex64. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding complex64 array or slice: length exceeds input size (%d elements)", )
		}
		 := float32FromBits(.decodeUint(), )
		 := float32FromBits(.decodeUint(), )
		[] = complex(float32(), float32())
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decComplex128Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]complex128)
It is kind complex128 but not type complex128. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding complex128 array or slice: length exceeds input size (%d elements)", )
		}
		 := float64FromBits(.decodeUint())
		 := float64FromBits(.decodeUint())
		[] = complex(, )
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decFloat32Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]float32)
It is kind float32 but not type float32. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding float32 array or slice: length exceeds input size (%d elements)", )
		}
		[] = float32(float32FromBits(.decodeUint(), ))
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decFloat64Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]float64)
It is kind float64 but not type float64. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding float64 array or slice: length exceeds input size (%d elements)", )
		}
		[] = float64FromBits(.decodeUint())
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decIntSlice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]int)
It is kind int but not type int. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding int array or slice: length exceeds input size (%d elements)", )
		}
MinInt and MaxInt
		if  < ^int64(^uint(0)>>1) || int64(^uint(0)>>1) <  {
			error_()
		}
		[] = int()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decInt16Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]int16)
It is kind int16 but not type int16. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding int16 array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeInt()
		if  < math.MinInt16 || math.MaxInt16 <  {
			error_()
		}
		[] = int16()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decInt32Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]int32)
It is kind int32 but not type int32. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding int32 array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeInt()
		if  < math.MinInt32 || math.MaxInt32 <  {
			error_()
		}
		[] = int32()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decInt64Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]int64)
It is kind int64 but not type int64. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding int64 array or slice: length exceeds input size (%d elements)", )
		}
		[] = .decodeInt()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decInt8Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]int8)
It is kind int8 but not type int8. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding int8 array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeInt()
		if  < math.MinInt8 || math.MaxInt8 <  {
			error_()
		}
		[] = int8()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decStringSlice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]string)
It is kind string but not type string. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding string array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeUint()
		 := int()
		if  < 0 || uint64() !=  ||  > .b.Len() {
			errorf("length of string exceeds input size (%d bytes)", )
		}
		if  > .b.Len() {
			errorf("string data too long for buffer: %d", )
Read the data.
		 := .b.Bytes()
		if len() <  {
			errorf("invalid string length %d: exceeds input size %d", , len())
		}
		[] = string([:])
		.b.Drop()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decUintSlice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]uint)
It is kind uint but not type uint. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding uint array or slice: length exceeds input size (%d elements)", )
		}
TODO if math.MaxUint32 < x { error_(ovfl) }
		[] = uint()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decUint16Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]uint16)
It is kind uint16 but not type uint16. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding uint16 array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeUint()
		if math.MaxUint16 <  {
			error_()
		}
		[] = uint16()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decUint32Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]uint32)
It is kind uint32 but not type uint32. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding uint32 array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeUint()
		if math.MaxUint32 <  {
			error_()
		}
		[] = uint32()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decUint64Slice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]uint64)
It is kind uint64 but not type uint64. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding uint64 array or slice: length exceeds input size (%d elements)", )
		}
		[] = .decodeUint()
	}
	return true
}

Can only slice if it is addressable.
	if !.CanAddr() {
		return false
	}
	return decUintptrSlice(, .Slice(0, .Len()), , )
}

func ( *decoderState,  reflect.Value,  int,  error) bool {
	,  := .Interface().([]uintptr)
It is kind uintptr but not type uintptr. TODO: We can handle this unsafely.
		return false
	}
	for  := 0;  < ; ++ {
		if .b.Len() == 0 {
			errorf("decoding uintptr array or slice: length exceeds input size (%d elements)", )
		}
		 := .decodeUint()
		if uint64(^uintptr(0)) <  {
			error_()
		}
		[] = uintptr()
	}
	return true