public void WriteBuffer(byte[] buffer) { Array.Copy (buffer, 0, blob.Contents, pos, buffer.Length); pos += buffer.Length; }