Delegate MemoryMap.WriteToDelegate<T>
A delegate to facilitate writing a variable-sized object.
Namespace: Mars.Common.IO.Mapped
Assembly: Mars.IO.dll
Syntax
public delegate long WriteToDelegate<T>(Stream stream, long position, ref T structure);
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
System.Int64 | position | |
T | structure |
Returns
Type | Description |
---|---|
System.Int64 |
Type Parameters
Name | Description |
---|---|
T |