protected abstract void WriteDouble(double val, string name); protected abstract void WriteInt16(short val, string name);