AbstractSessionInputBuffer.ReadLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ReadLine() |
Reads the next line from the session input buffer. |
| ReadLine(CharArrayBuffer) |
Reads the next line into a character buffer. |
ReadLine()
Reads the next line from the session input buffer.
[Android.Runtime.Register("readLine", "()Ljava/lang/String;", "GetReadLineHandler")]
public virtual string? ReadLine();
[<Android.Runtime.Register("readLine", "()Ljava/lang/String;", "GetReadLineHandler")>]
abstract member ReadLine : unit -> string
override this.ReadLine : unit -> string
Returns
The next line, or null at the end of the stream.
Implements
- Attributes
Remarks
Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.
Applies to
ReadLine(CharArrayBuffer)
Reads the next line into a character buffer.
[Android.Runtime.Register("readLine", "(Lorg/apache/http/util/CharArrayBuffer;)I", "GetReadLine_Lorg_apache_http_util_CharArrayBuffer_Handler")]
public virtual int ReadLine(Org.Apache.Http.Util.CharArrayBuffer? charbuffer);
[<Android.Runtime.Register("readLine", "(Lorg/apache/http/util/CharArrayBuffer;)I", "GetReadLine_Lorg_apache_http_util_CharArrayBuffer_Handler")>]
abstract member ReadLine : Org.Apache.Http.Util.CharArrayBuffer -> int
override this.ReadLine : Org.Apache.Http.Util.CharArrayBuffer -> int
Parameters
- charbuffer
- CharArrayBuffer
The character buffer that receives the line.
Returns
The number of source bytes consumed for the line, excluding its line terminator, or -1 at the end of the stream. This can differ from the number of characters appended when a multibyte charset is used.
Implements
- Attributes
Remarks
Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.