LoggingSessionInputBuffer.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 a line through the wrapped buffer and logs a non-null result with an |
| ReadLine(CharArrayBuffer) |
Appends a line through the wrapped buffer. When the returned length is positive and logging is enabled, logs that many characters from the end of the buffer with an |
ReadLine()
Reads a line through the wrapped buffer and logs a non-null result with an [EOL] marker when logging is enabled.
[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 line without its line terminator, or null at the end of input, as returned by the wrapped buffer.
Implements
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ReadLine(CharArrayBuffer)
Appends a line through the wrapped buffer. When the returned length is positive and logging is enabled, logs that many characters from the end of the buffer with an [EOL] marker.
[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? buffer);
[<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
- buffer
- CharArrayBuffer
The character buffer to which the line is appended.
Returns
The line length reported by the wrapped buffer, excluding the line terminator, or -1 at the end of input. This is not the total length of buffer.
Implements
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.