语言

LoggingSessionOutputBuffer.Write 方法

定义

重载

名称 说明
Write(Byte[])

通过包装的缓冲区写入数组,然后在启用线路日志记录时记录该数组。

Write(Int32)

通过包装缓冲区写入一个字节,然后在启用线路日志记录时记录它。

Write(Byte[], Int32, Int32)

通过包装缓冲区写入指定的数组范围,然后在启用线路日志记录时记录该范围。

Write(Byte[])

通过包装的缓冲区写入数组,然后在启用线路日志记录时记录该数组。

[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

参数

b
Byte[]

要写入和记录的字节数。

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Write(Int32)

通过包装缓冲区写入一个字节,然后在启用线路日志记录时记录它。

[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

参数

b
Int32

写入和记录低八位的值。

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Write(Byte[], Int32, Int32)

通过包装缓冲区写入指定的数组范围,然后在启用线路日志记录时记录该范围。

[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

参数

b
Byte[]

包含要写入的字节的数组。

off
Int32

中的 b起始索引 。

len
Int32

要写入和记录的字节数。

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于