AK.F1.Timing.Server.IO.ByteBufferSnapshot.CopyTo C# (CSharp) Метод

CopyTo() публичный Метод

Copies a specified number of bytes from this snapshot starting at a particular offset to a destination array starting at a particular offset.
/// Thrown when is . /// /// Thrown when , or /// is not valid. ///
public CopyTo ( int srcOffset, byte dst, int dstOffset, int count ) : void
srcOffset int The zero-based byte offset.
dst byte The destination buffer.
dstOffset int The zero-based offset into .
count int The number of bytes to copy.
Результат void
        public void CopyTo(int srcOffset, byte[] dst, int dstOffset, int count)
        {
            Buffer.BlockCopy(_buffer, _offset + srcOffset, dst, dstOffset, count);
        }