private void TakePart(byte[] bytes, int index, int length)
{
if (bytes == null)
throw new ArgumentNullException ();
if (bytes.Length != length)
throw new ArgumentOutOfRangeException (
".Length", bytes.Length, "must be " + length.ToString());
Array.Copy (bytes, 0, this.buffer, index, length);
}