()
| 112 | } |
| 113 | |
| 114 | func (r *ffReader) ReadByte() (byte, error) { |
| 115 | if r.i >= r.l { |
| 116 | return 0, io.EOF |
| 117 | } |
| 118 | |
| 119 | r.i++ |
| 120 | |
| 121 | return r.s[r.i-1], nil |
| 122 | } |
| 123 | |
| 124 | func (r *ffReader) UnreadByte() error { |
| 125 | if r.i <= 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected