Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / FieldReader Class / ReadString Method

In This Topic
    ReadString Method (FieldReader)
    In This Topic
    Read a string from the stream. We optimize strings by maintaining a hash table of each unique string we have seen. Each string is sent with as an integer index into the table. When a new string is encountered, it's index is followed by the string value.
    Syntax
    'Declaration
     
    
    Public Function ReadString() As String
    public string ReadString()

    Return Value

    Returns the string
    Remarks
    We optimize strings by maintaining a hash table of each unique string we have seen. Each string is sent with as an integer index into the table. When a new string is encountered, it's index is followed by the string value.
    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