public PinnedArray<byte> GetBlobAsPinnedByteArray() { return new PinnedArray<byte>(GetBlob()); }
private BlobParser SendMessage(BlobBuilder aBuilder) { byte[] reply; using (var message = aBuilder.GetBlobAsPinnedByteArray()) { reply = SendMessage(message.Data); } try { return(new BlobParser(reply)); } catch (Exception) { return(null); } }