Esempio n. 1
0
 /// <summary>
 /// Creates a new StringBlob and initialize the data with the contents of a Blob object.
 /// </summary>
 /// <param name="blob"></param>
 public StringBlob(Blob blob)
 {
     _mem = new SafePtr(blob.Length);
     _mem.CopyFrom(blob.DangerousGetHandle(), (IntPtr)blob.Length);
 }