Axiom.Serialization.Serializer.ReadInts C# (CSharp) Метод

ReadInts() защищенный Метод

Reads a specified number of integers and copies them into the destination pointer.
protected ReadInts ( BinaryReader reader, int count, IntPtr dest ) : void
reader System.IO.BinaryReader
count int Number of values to read.
dest System.IntPtr Pointer to copy the values into.
Результат void
	    protected void ReadInts( BinaryReader reader, int count, IntPtr dest )
		{
			// blast the data into the buffer
			unsafe
			{
				int* pointer = (int*)dest.ToPointer();

				for ( int i = 0; i < count; i++ )
				{
					pointer[ i ] = ReadInt( reader );
				}
			}
		}