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

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

Writes a specified number of bytes.
protected WriteBytes ( BinaryWriter writer, int count, IntPtr src ) : void
writer System.IO.BinaryWriter
count int Number of values to write.
src System.IntPtr Pointer that holds the values.
Результат void
	    protected void WriteBytes( BinaryWriter writer, int count, IntPtr src )
		{
			unsafe
			{
				byte* pointer = (byte*)src.ToPointer();

				for ( int i = 0; i < count; i++ )
				{
					writer.Write( pointer[ i ] );
				}
			}
		}