mirror of
https://github.com/hanzo-go/lz4.git
synced 2026-10-30 20:02:42 +00:00
v4.1.23 introduced a regression in end-of-frame detection that breaks superfly/ltx (and therefore hanzoai/replicate verify path). Stay on v4.1.22 wire format until upstream fixes it. Module renamed to github.com/hanzoai/lz4/v4.
29 lines
749 B
Go
29 lines
749 B
Go
// Code generated by "stringer -type=aState -output state_gen.go"; DO NOT EDIT.
|
|
|
|
package lz4
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[noState-0]
|
|
_ = x[errorState-1]
|
|
_ = x[newState-2]
|
|
_ = x[readState-3]
|
|
_ = x[writeState-4]
|
|
_ = x[closedState-5]
|
|
}
|
|
|
|
const _aState_name = "noStateerrorStatenewStatereadStatewriteStateclosedState"
|
|
|
|
var _aState_index = [...]uint8{0, 7, 17, 25, 34, 44, 55}
|
|
|
|
func (i aState) String() string {
|
|
if i >= aState(len(_aState_index)-1) {
|
|
return "aState(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _aState_name[_aState_index[i]:_aState_index[i+1]]
|
|
}
|