SqliteBlob.Write 方法

定义

重载

Write(ReadOnlySpan<Byte>)

将字节序列写入当前流,并按写入的字节数向前调整流的当前位置。

Write(Byte[], Int32, Int32)

将字节序列写入当前流,并按写入的字节数向前调整流的当前位置。

Write(ReadOnlySpan<Byte>)

将字节序列写入当前流,并按写入的字节数向前调整流的当前位置。

public virtual void Write (ReadOnlySpan<byte> buffer);
public override void Write (ReadOnlySpan<byte> buffer);
override this.Write : ReadOnlySpan<byte> -> unit
Public Overridable Sub Write (buffer As ReadOnlySpan(Of Byte))
Public Overrides Sub Write (buffer As ReadOnlySpan(Of Byte))

参数

buffer
ReadOnlySpan<Byte>

内存的区域。 此方法将此区域的内容复制到当前流。

适用于

Write(Byte[], Int32, Int32)

将字节序列写入当前流,并按写入的字节数向前调整流的当前位置。

public override void Write (byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

参数

buffer
Byte[]

字节数组。 此方法将 count 个字节从 buffer 复制到当前流。

offset
Int32

缓冲区中要从其开始向当前流复制字节的从零开始的字节偏移量。

count
Int32

要写入当前流的字节数。

适用于