| 148 | } |
| 149 | |
| 150 | String FileAccessBuffer::get_as_utf8_string() const { |
| 151 | String s; |
| 152 | s.append_utf8((const char *)data.ptr() + pos, real_size - pos); |
| 153 | return s; |
| 154 | } |
| 155 | |
| 156 | String FileAccessBuffer::whole_file_as_utf8_string() const { |
| 157 | String s; |