title: why does string get moved 1 to the right when using BinaryWriter?
body: <p>really need some help with this...</p>
  
  <p>i got a string in a file: <code>SaveStation_001</code></p>
  
  <p>which is in hex: <code>53 61 76 65 53 74 61 74 69 6F 6E 5F 30 30 31</code></p>
  
  <p>I wrote this in C# </p>
  
  <pre><code>private void s_PlayerSStation_Click(object sender, EventArgs e)
  {
      BinaryWriter m_bw = new BinaryWriter(File.OpenWrite(ofd.FileName));
      if (textBox3.Text == "")
      {
          m_bw.Close();
          MessageBox.Show("Please enter a number before pressing the button", "Save Station Error");
          return;
      }
      int x = Convert.ToInt32(textBox3.Text);
      if (x &gt; 999)
      {
          m_bw.Close();
          MessageBox.Show("Value exceeds max");
          return;
      }
      if (textBox3.Text.Length &lt; 3)
      {
          if (textBox3.Text.Length &lt; 2)
          {
              string p = String.Format("00{0}", textBox3.Text);
              m_bw.BaseStream.Position = 0x00000004;
              m_bw.Write(p);
              m_bw.BaseStream.Position = 0x000038BC;
              m_bw.Write(p);
              label4.Text = String.Format("You will now spawn a save station: {0}", textBox3.Text);
              m_bw.Close();
              return;
          }
          string z = String.Format("0{0}", textBox3.Text);
          m_bw.BaseStream.Position = 0x00000004;
          m_bw.Write(z);
          m_bw.BaseStream.Position = 0x000038BC;
          m_bw.Write(z);
          label4.Text = String.Format("You will now spawn a save station: {0}", textBox3.Text);
          m_bw.Close();
          return;
      }
      m_bw.BaseStream.Position = 0x00000004;
      m_bw.Write(textBox3.Text);
      m_bw.BaseStream.Position = 0x000038BC;
      m_bw.Write(textBox3.Text);
      label4.Text = String.Format("You will now spawn a save station: {0}", textBox3.Text);
      m_bw.Close();
  }
  </code></pre>
  
  <p>which should only change the number 001 to whatever the user types into textBox3 so lets say i typed in 66 it should just change <code>SaveStation_001</code> to <code>SaveStation_066</code> but for some reason it shifts it 1 to the right so it looks like this <code>SaveStation_ 066</code> (in hex: <code>53 61 76 65 53 74 61 74 69 6F 6E 5F |03| 30 36 36</code>). Anyone know what the issue is? also idk where it gets the <code>03</code> from in the new hex (marked it with | )</p>