Language

Wire.Output Method

Definition

Overloads

Name Description
Output(Byte[])

Formats the entire array as sent data and sends it to the debug logger with an output-direction prefix.

Output(Int32)

Formats one byte as sent data and sends it to the debug logger.

Output(Stream)

Reads the stream to its end and logs its bytes as sent data. Does not send the data over a network connection.

Output(String)

Encodes the string as bytes and logs them as sent data. Does not send the data over a network connection.

Output(Byte[], Int32, Int32)

Formats the specified array range as sent data and sends it to the debug logger.

Output(Byte[])

Formats the entire array as sent data and sends it to the debug logger with an output-direction prefix.

[Android.Runtime.Register("output", "([B)V", "GetOutput_arrayBHandler")]
public virtual void Output(byte[]? b);
[<Android.Runtime.Register("output", "([B)V", "GetOutput_arrayBHandler")>]
abstract member Output : byte[] -> unit
override this.Output : 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

Output(Int32)

Formats one byte as sent data and sends it to the debug logger.

[Android.Runtime.Register("output", "(I)V", "GetOutput_IHandler")]
public virtual void Output(int b);
[<Android.Runtime.Register("output", "(I)V", "GetOutput_IHandler")>]
abstract member Output : int -> unit
override this.Output : int -> unit

Parameters

b
Int32

The value whose low eight bits are formatted as one sent 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

Output(Stream)

Reads the stream to its end and logs its bytes as sent data. Does not send the data over a network connection.

[Android.Runtime.Register("output", "(Ljava/io/InputStream;)V", "GetOutput_Ljava_io_InputStream_Handler")]
public virtual void Output(System.IO.Stream? outstream);
[<Android.Runtime.Register("output", "(Ljava/io/InputStream;)V", "GetOutput_Ljava_io_InputStream_Handler")>]
abstract member Output : System.IO.Stream -> unit
override this.Output : System.IO.Stream -> unit

Parameters

outstream
Stream

The non-null readable stream to consume. Despite its name, this parameter is read, not written. The method does not close it.

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

Output(String)

Encodes the string as bytes and logs them as sent data. Does not send the data over a network connection.

[Android.Runtime.Register("output", "(Ljava/lang/String;)V", "GetOutput_Ljava_lang_String_Handler")]
public virtual void Output(string? s);
[<Android.Runtime.Register("output", "(Ljava/lang/String;)V", "GetOutput_Ljava_lang_String_Handler")>]
abstract member Output : string -> unit
override this.Output : 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

Output(Byte[], Int32, Int32)

Formats the specified array range as sent data and sends it to the debug logger.

[Android.Runtime.Register("output", "([BII)V", "GetOutput_arrayBIIHandler")]
public virtual void Output(byte[]? b, int off, int len);
[<Android.Runtime.Register("output", "([BII)V", "GetOutput_arrayBIIHandler")>]
abstract member Output : byte[] * int * int -> unit
override this.Output : byte[] * int * int -> unit

Parameters

b
Byte[]

The non-null byte array containing sent 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.

Applies to