| 40 | // ------------------------ INPUT FUNCTIONS ------------------------ |
| 41 | |
| 42 | int_type underflow( |
| 43 | ) |
| 44 | { |
| 45 | if (read_pos < buffer.size()) |
| 46 | return static_cast<unsigned char>(buffer[read_pos]); |
| 47 | else |
| 48 | return str.peek(); |
| 49 | } |
| 50 | |
| 51 | int_type uflow( |
| 52 | ) |