Wire.Input 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 |
|---|---|
| Input(Byte[]) |
Formats the entire array as received data and sends it to the debug logger with an input-direction prefix. |
| Input(Int32) |
Formats one byte as received data and sends it to the debug logger. |
| Input(Stream) |
Consumes the stream and logs its bytes as received data. Escapes carriage returns, line feeds, and bytes outside the printable range used by the wire formatter. |
| Input(String) |
Encodes the string as bytes and logs them as received data. Does not read from a network connection. |
| Input(Byte[], Int32, Int32) |
Formats the specified array range as received data and sends it to the debug logger. |
Input(Byte[])
Formats the entire array as received data and sends it to the debug logger with an input-direction prefix.
[Android.Runtime.Register("input", "([B)V", "GetInput_arrayBHandler")]
public virtual void Input(byte[]? b);
[<Android.Runtime.Register("input", "([B)V", "GetInput_arrayBHandler")>]
abstract member Input : byte[] -> unit
override this.Input : byte[] -> unit
Parameters
- b
- Byte[]
The non-null byte array to format.
- 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
Input(Int32)
Formats one byte as received data and sends it to the debug logger.
[Android.Runtime.Register("input", "(I)V", "GetInput_IHandler")]
public virtual void Input(int b);
[<Android.Runtime.Register("input", "(I)V", "GetInput_IHandler")>]
abstract member Input : int -> unit
override this.Input : int -> unit
Parameters
- b
- Int32
The value whose low eight bits are formatted as one received byte.
- 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
Input(Stream)
Consumes the stream and logs its bytes as received data. Escapes carriage returns, line feeds, and bytes outside the printable range used by the wire formatter.
[Android.Runtime.Register("input", "(Ljava/io/InputStream;)V", "GetInput_Ljava_io_InputStream_Handler")]
public virtual void Input(System.IO.Stream? instream);
[<Android.Runtime.Register("input", "(Ljava/io/InputStream;)V", "GetInput_Ljava_io_InputStream_Handler")>]
abstract member Input : System.IO.Stream -> unit
override this.Input : System.IO.Stream -> unit
Parameters
- instream
- Stream
The non-null readable stream to consume. The method reads to the end and does not close the stream.
- 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
Input(String)
Encodes the string as bytes and logs them as received data. Does not read from a network connection.
[Android.Runtime.Register("input", "(Ljava/lang/String;)V", "GetInput_Ljava_lang_String_Handler")]
public virtual void Input(string? s);
[<Android.Runtime.Register("input", "(Ljava/lang/String;)V", "GetInput_Ljava_lang_String_Handler")>]
abstract member Input : string -> unit
override this.Input : string -> unit
Parameters
- s
- String
The non-null string to encode with the Java platform's default character set.
- 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
Input(Byte[], Int32, Int32)
Formats the specified array range as received data and sends it to the debug logger.
[Android.Runtime.Register("input", "([BII)V", "GetInput_arrayBIIHandler")]
public virtual void Input(byte[]? b, int off, int len);
[<Android.Runtime.Register("input", "([BII)V", "GetInput_arrayBIIHandler")>]
abstract member Input : byte[] * int * int -> unit
override this.Input : byte[] * int * int -> unit
Parameters
- b
- Byte[]
The non-null byte array containing received data.
- off
- Int32
The starting offset in b.
- len
- Int32
The number of bytes to include from that offset.
- 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.