Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / FieldWriter Class / WriteLength Method
Packet length to be encoded

In This Topic
    WriteLength Method
    In This Topic
    Efficiently encodes a packet length as a variable length byte array using 7-bit encoding
    Syntax
    'Declaration
     
    
    Public Shared Function WriteLength( _
       ByVal length As Long _
    ) As MemoryStream
    public static MemoryStream WriteLength( 
       long length
    )

    Parameters

    length
    Packet length to be encoded

    Return Value

    Returns a MemoryStream containing the encoded length
    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