LumiSoft Mail Server User API
ReadLineByte Method (maxLineLength)
Namespaces > LumiSoft.Net > SocketEx > ReadLineByte(Int32)
Reads line from socket.NOTE: CRLF isn't written to destination stream. If maximum allowed line length is exceeded line is read to end, but isn't stored to buffer and exception is thrown after line reading.
Syntax

C# | Visual Basic | Managed C++

    public byte[] ReadLineByte (
    	int maxLineLength
    )

    Public Function ReadLineByte ( _
    	maxLineLength As Integer _
    ) As Byte()

    public:
    array<unsigned char>^ ReadLineByte (
    	int maxLineLength
    )

Parameters

maxLineLength (Int32)
  Maximum line length in bytes.

Return Value
Returns readed line.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)