title: cassandra c# datastax client insert blob
body: <p>hi I wonder if there is a more elegant way of inserting blob instead of converting the byte array into string like:</p>
  
  <pre><code>string strblob = "0x00" + BitConverter.ToString(stream2.GetBuffer()).Replace("-", "");
  
  ISession session = cluster.Connect("abc");
  
  session.Execute(string.Format("insert into events(blob) values ({0})", blobStr));
  </code></pre>