C# Class Microsoft.WinAny.memory

Show file Open project: jhabjan/Ghostscript.NET

Public Methods

Method Description
memcpy ( byte dest, byte src, uint count ) : void

Copies bytes between buffers.

memset ( byte dest, byte c, uint count ) : void

Sets buffers to a specified character.

realloc ( byte memblock, uint size, uint newsize ) : byte*

Reallocate memory blocks.

Method Details

memcpy() public static method

Copies bytes between buffers.
public static memcpy ( byte dest, byte src, uint count ) : void
dest byte New buffer.
src byte Buffer to copy from.
count uint
return void

memset() public static method

Sets buffers to a specified character.
public static memset ( byte dest, byte c, uint count ) : void
dest byte Pointer to destination.
c byte Character to set.
count uint Number of characters.
return void

realloc() public static method

Reallocate memory blocks.
public static realloc ( byte memblock, uint size, uint newsize ) : byte*
memblock byte Pointer to previously allocated memory block.
size uint Previously allocated memory block size.
newsize uint New size in bytes.
return byte*