public void Write(short value) { if (pointer == IntPtr.Zero) { return; } BitStream_Native.BitStream_WriteShort(pointer, value); }