BlobWriter.WriteBytes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteBytes(Byte[], Int32, Int32)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(cli::array <System::Byte> ^ buffer, int start, int byteCount);
public void WriteBytes (byte[] buffer, int start, int byteCount);
member this.WriteBytes : byte[] * int * int -> unit
Public Sub WriteBytes (buffer As Byte(), start As Integer, byteCount As Integer)
参数
- buffer
- Byte[]
- start
- Int32
- byteCount
- Int32
例外
buffer
为 null
。
start
和 byteCount
指定的范围超出了 buffer
的范围。
适用于
WriteBytes(Stream, Int32)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
int WriteBytes(System::IO::Stream ^ source, int byteCount);
public int WriteBytes (System.IO.Stream source, int byteCount);
member this.WriteBytes : System.IO.Stream * int -> int
Public Function WriteBytes (source As Stream, byteCount As Integer) As Integer
参数
- source
- Stream
- byteCount
- Int32
返回
例外
source
为 null
。
byteCount
为负数。
适用于
WriteBytes(Byte*, Int32)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(System::Byte* buffer, int byteCount);
public void WriteBytes (byte* buffer, int byteCount);
member this.WriteBytes : nativeptr<byte> * int -> unit
参数
- buffer
- Byte*
- byteCount
- Int32
例外
buffer
为 null
。
byteCount
为负数。
适用于
WriteBytes(ImmutableArray<Byte>, Int32, Int32)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(System::Collections::Immutable::ImmutableArray<System::Byte> buffer, int start, int byteCount);
public void WriteBytes (System.Collections.Immutable.ImmutableArray<byte> buffer, int start, int byteCount);
member this.WriteBytes : System.Collections.Immutable.ImmutableArray<byte> * int * int -> unit
Public Sub WriteBytes (buffer As ImmutableArray(Of Byte), start As Integer, byteCount As Integer)
参数
- buffer
- ImmutableArray<Byte>
- start
- Int32
- byteCount
- Int32
例外
buffer
为 null
。
start
和 byteCount
指定的范围超出了 buffer
的范围。
适用于
WriteBytes(BlobBuilder)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(System::Reflection::Metadata::BlobBuilder ^ source);
public void WriteBytes (System.Reflection.Metadata.BlobBuilder source);
member this.WriteBytes : System.Reflection.Metadata.BlobBuilder -> unit
Public Sub WriteBytes (source As BlobBuilder)
参数
- source
- BlobBuilder
例外
source
为 null
。
适用于
WriteBytes(ImmutableArray<Byte>)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(System::Collections::Immutable::ImmutableArray<System::Byte> buffer);
public void WriteBytes (System.Collections.Immutable.ImmutableArray<byte> buffer);
member this.WriteBytes : System.Collections.Immutable.ImmutableArray<byte> -> unit
Public Sub WriteBytes (buffer As ImmutableArray(Of Byte))
参数
- buffer
- ImmutableArray<Byte>
例外
buffer
为 null
。
适用于
WriteBytes(Byte[])
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(cli::array <System::Byte> ^ buffer);
public void WriteBytes (byte[] buffer);
member this.WriteBytes : byte[] -> unit
Public Sub WriteBytes (buffer As Byte())
参数
- buffer
- Byte[]
例外
buffer
为 null
。
适用于
WriteBytes(Byte, Int32)
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
- Source:
- BlobWriter.cs
public:
void WriteBytes(System::Byte value, int byteCount);
public void WriteBytes (byte value, int byteCount);
member this.WriteBytes : byte * int -> unit
Public Sub WriteBytes (value As Byte, byteCount As Integer)
参数
- value
- Byte
- byteCount
- Int32
例外
byteCount
为负数。