Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / BinarySerializer Class / SerializeValue Method / SerializeValue(String) Method

In This Topic
    SerializeValue(String) Method
    In This Topic
    Serialize a string to a byte array
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SerializeValue( _
       ByVal hostValue As String _
    ) As Byte()
    public static byte[] SerializeValue( 
       string hostValue
    )

    Parameters

    hostValue

    Return Value

    The byte array for the string
    Remarks
    Serializes the length in the first byte then each character with one byte character encoding
    Requirements

    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

    See Also