Add BytesTerminateMulti() and ReadBytesTermMulti() #89
Annotations
10 errors
Lint:
kaitai/util.go#L86
increment-decrement: should replace newLen += 1 with newLen++ (revive)
|
Lint:
kaitai/stream.go#L328
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
kaitai/stream.go#L324
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ReadBytesTermMulti: end of stream reached, but no terminator found\")" (err113)
|
Lint:
kaitai/stream.go#L106
named return "v" with type "uint8" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L114
named return "v" with type "uint16" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L122
named return "v" with type "uint32" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L130
named return "v" with type "uint64" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L138
named return "v" with type "uint16" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L146
named return "v" with type "uint32" found (nonamedreturns)
|
Lint:
kaitai/stream.go#L154
named return "v" with type "uint64" found (nonamedreturns)
|