private void GetBytesInternal(byte[] data, int offset, int count)
{
Debug.Assert(data != null);
Debug.Assert(offset >= 0);
Debug.Assert(count >= 0);
Debug.Assert(count <= data.Length - offset);
if (count > 0)
{
unsafe
{
fixed (byte* pb = &data[offset])
{
GetBytes(pb, count);
}
}
}
}
}