Language

LoggingSessionOutputBuffer.Write Method

Definition

Overloads

Name Description
Write(Byte[])

Writes the array through the wrapped buffer, then logs it if wire logging is enabled.

Write(Int32)

Writes one byte through the wrapped buffer, then logs it if wire logging is enabled.

Write(Byte[], Int32, Int32)

Writes the specified array range through the wrapped buffer, then logs that range if wire logging is enabled.

Write(Byte[])

Writes the array through the wrapped buffer, then logs it if wire logging is enabled.

[Android.Runtime.Register("write", "([B)V", "GetWrite_arrayBHandler")]
public virtual void Write(byte[]? b);
[<Android.Runtime.Register("write", "([B)V", "GetWrite_arrayBHandler")>]
abstract member Write : byte[] -> unit
override this.Write : byte[] -> unit

Parameters

b
Byte[]

The bytes to write and log.

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

Write(Int32)

Writes one byte through the wrapped buffer, then logs it if wire logging is enabled.

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

Parameters

b
Int32

The value whose low eight bits are written and logged.

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

Write(Byte[], Int32, Int32)

Writes the specified array range through the wrapped buffer, then logs that range if wire logging is enabled.

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

Parameters

b
Byte[]

The array containing the bytes to write.

off
Int32

The starting index in b.

len
Int32

The number of bytes to write and log.

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