OK after reflecting it a little bit more I'll add getters for both encodings but the getter should only return (no check) because this methods could be needed outside to get the current object state. I'll add the check after getting the value - it's only one if + throw.