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