()
| 34 | } |
| 35 | |
| 36 | func (r *BLLReader) ReadByte() (b byte, err error) { |
| 37 | for r.CanRead() { |
| 38 | l := r.Value.Len() - r.pos |
| 39 | if l > 0 { |
| 40 | b = r.Value[r.pos] |
| 41 | r.pos++ |
| 42 | return |
| 43 | } |
| 44 | r.LIBP = r.Next |
| 45 | r.pos = 0 |
| 46 | } |
| 47 | return 0, io.EOF |
| 48 | } |
| 49 | |
| 50 | func (r *BLLReader) LEB128Unmarshal() (uint, int, error) { |
| 51 | v := uint(0) |
no test coverage detected