Method | Description | |
---|---|---|
Clear ( |
Sets the data in this buffer to all zeroes
|
|
Clear ( byte pointer, int length ) : void |
Sets the data in this buffer to all zeroes
|
|
Copy ( |
Does a safe copy of data from one location to another. A safe copy allows for the source and destination to overlap.
|
|
Copy ( byte src, byte dest, int count ) : void |
Does a safe copy of data from one location to another. A safe copy allows for the source and destination to overlap.
|
|
Dispose ( ) : void |
Releases all the resources used by the Memory object.
|
|
Memory ( int requestedSize ) : System |
Allocates unmanaged memory. The block is uninitialized.
|
|
Release ( ) : void |
Releases the allocated memory back to the OS. Same thing as calling Dispose().
|
public static Clear ( |
||
pointer | the starting position. | |
length | int | the number of bytes to clear. |
return | void |
public static Clear ( byte pointer, int length ) : void | ||
pointer | byte | the starting position. |
length | int | the number of bytes to clear. |
return | void |
public static Copy ( |
||
src | ||
dest | ||
count | int | |
return | void |
public static Copy ( byte src, byte dest, int count ) : void | ||
src | byte | |
dest | byte | |
count | int | |
return | void |
public Memory ( int requestedSize ) : System | ||
requestedSize | int | The desired number of bytes to allocate. /// Be sure to check the actual size in the return class. |
return | System |