title: In Vala language have a like `Buffer.BlockCopy` or ` BitConverter. ToXXXX () || GetBytes`?
body: <p>I am new in Vala and I am trying to rewrite some of my tools that I wrote with c # before. I couldn't find functions like <code>BitConverter</code> class or <code>Buffer.BlockCopy</code> in Vala like in C #. By the way have a blowfish class for vala?</p>
  
  <pre class="lang-cs prettyprint-override"><code>Buffer.BlockCopy(stream, offset, workspace, 0, length);
  
  for (int x = 0; x &lt; workspace.length; x += 8)
  {
      uint l = BitConverter.ToUInt32(workspace, x + 0);
      uint r = BitConverter.ToUInt32(workspace, x + 4);
      Blowfish_decipher(ref l, ref r);
      Buffer.BlockCopy(BitConverter.GetBytes(l), 0, workspace, x + 0, 4);
      Buffer.BlockCopy(BitConverter.GetBytes(r), 0, workspace, x + 4, 4);
  }
  </code></pre>