protected abstract void WriteBoolean(bool val, string name); protected abstract void WriteByte(byte val, string name);