Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / BinarySerializer Class / SerializeValue Method / SerializeValue(Stream,String) Method
The stream to write to

In This Topic
    SerializeValue(Stream,String) Method
    In This Topic
    Serialize a string to a byte array
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SerializeValue( _
       ByVal stream As Stream, _
       ByVal hostValue As String _
    ) 
    public static void SerializeValue( 
       Stream stream,
       string hostValue
    )

    Parameters

    stream
    The stream to write to
    hostValue
    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