Take care of readOnlyBuffer's position after CharacterCodingException occurs