inline the slice string instead of reading one byte at a time