Miner.Responder.Shared.Channels.MSMQ Namespace : StructConverter Class |
'Declaration
Public MustInherit NotInheritable Class StructConverter
'Usage
Dim instance As StructConverter
public static class StructConverter
public class StructConverter abstract; sealed;
public abstract sealed class StructConverter
public __gc abstract __sealed class StructConverter
public ref class StructConverter abstract sealed
The StructConverter class is similar to the BitConverter class with the exception that it will convert a struct to a byte[] and vice versa. This is useful in some specific situations like reading from a file with a known format.
This class is a generalization of some code found here: http://www.codeproject.com/cs/files/fastbinaryfileinput.asp
System.Object
Miner.Responder.Shared.Channels.MSMQ.StructConverter
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2