BlobWriter.WriteBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteBytes(Byte[], Int32, Int32)
- 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)
Parameters
- buffer
- Byte[]
- start
- Int32
- byteCount
- Int32
Exceptions
buffer
is null
.
Range specified by start
and byteCount
falls outside of the bounds of the buffer
.
Applies to
WriteBytes(Stream, Int32)
- 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
Parameters
- source
- Stream
- byteCount
- Int32
Returns
Exceptions
source
is null
.
byteCount
is negative.
Applies to
WriteBytes(Byte*, Int32)
- 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
Parameters
- buffer
- Byte*
- byteCount
- Int32
Exceptions
buffer
is null
.
byteCount
is negative.
Applies to
WriteBytes(ImmutableArray<Byte>, Int32, Int32)
- 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)
Parameters
- buffer
- ImmutableArray<Byte>
- start
- Int32
- byteCount
- Int32
Exceptions
buffer
is null
.
Range specified by start
and byteCount
falls outside of the bounds of the buffer
.
Applies to
WriteBytes(BlobBuilder)
- 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)
Parameters
- source
- BlobBuilder
Exceptions
source
is null
.
Applies to
WriteBytes(ImmutableArray<Byte>)
- 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))
Parameters
- buffer
- ImmutableArray<Byte>
Exceptions
buffer
is null
.
Applies to
WriteBytes(Byte[])
- 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())
Parameters
- buffer
- Byte[]
Exceptions
buffer
is null
.
Applies to
WriteBytes(Byte, Int32)
- 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)
Parameters
- value
- Byte
- byteCount
- Int32
Exceptions
byteCount
is negative.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기