BlobWriter.WriteBytes 메서드

정의

오버로드

WriteBytes(Byte[], Int32, Int32)
WriteBytes(Stream, Int32)
WriteBytes(Byte*, Int32)
WriteBytes(ImmutableArray<Byte>, Int32, Int32)
WriteBytes(BlobBuilder)
WriteBytes(ImmutableArray<Byte>)
WriteBytes(Byte[])
WriteBytes(Byte, Int32)

WriteBytes(Byte[], Int32, Int32)

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인 경우

startbyteCount에 의해 지정된 범위가 buffer의 경계를 벗어납니다.

적용 대상

WriteBytes(Stream, Int32)

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

반환

Int32

예외

source이(가) null인 경우

byteCount가 음수입니다.

적용 대상

WriteBytes(Byte*, Int32)

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)

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)

매개 변수

start
Int32
byteCount
Int32

예외

buffer이(가) null인 경우

startbyteCount에 의해 지정된 범위가 buffer의 경계를 벗어납니다.

적용 대상

WriteBytes(BlobBuilder)

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>)

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이(가) null인 경우

적용 대상

WriteBytes(Byte[])

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)

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가 음수입니다.

적용 대상