TreeView for WinForms | ComponentOne
C1.Util Namespace / FontSubSet.BigEndianBinaryReader Class / ReadChars Method
The number of characters to read.

In This Topic
    ReadChars Method (FontSubSet.BigEndianBinaryReader)
    In This Topic
    Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.
    Syntax
    'Declaration
     
    
    Public Overrides Function ReadChars( _
       ByVal count As Integer _
    ) As Char()
    public override char[] ReadChars( 
       int count
    )

    Parameters

    count
    The number of characters to read.

    Return Value

    A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached.
    Exceptions
    ExceptionDescription
    The number of decoded characters to read is greater than count. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.
    The stream is closed.
    An I/O error occurs.
    count is negative.
    See Also