- operator precedence in length calculation - update buffer end pointer when buffer position does not change.