blob: 75fb828924388e40fede1dcb823f3f10c3f026b4 [file] [log] [blame]
Abhay Kumar40252eb2025-10-13 13:25:53 +00001// Code generated by "stringer -type=aState -output state_gen.go"; DO NOT EDIT.
2
3package lz4
4
5import "strconv"
6
7func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[noState-0]
12 _ = x[errorState-1]
13 _ = x[newState-2]
14 _ = x[readState-3]
15 _ = x[writeState-4]
16 _ = x[closedState-5]
17}
18
19const _aState_name = "noStateerrorStatenewStatereadStatewriteStateclosedState"
20
21var _aState_index = [...]uint8{0, 7, 17, 25, 34, 44, 55}
22
23func (i aState) String() string {
24 if i >= aState(len(_aState_index)-1) {
25 return "aState(" + strconv.FormatInt(int64(i), 10) + ")"
26 }
27 return _aState_name[_aState_index[i]:_aState_index[i+1]]
28}