Method Append
Append(byte[], int, int)
Appends size
byte
s of the array buffer
to an existing array of bytes.
Declaration
public void Append(byte[] buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
byte[] | buffer | A buffer containing |
int | offset | The offset within |
int | size | The number of bytes from |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentOutOfRangeException | Thrown if |
ArgumentOutOfRangeException | Thrown if |
InvalidOperationException | Thrown if |
Append(byte[])
Appends all byte
s of the array buffer
to an existing array of bytes.
Declaration
public void Append(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
byte[] | buffer | A buffer containing |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Append(NativeSlice<byte>)
Appends bytes
to an existing array of bytes.
Declaration
public void Append(NativeSlice<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
NativeSlice<byte> | bytes | An array of bytes to append to the existing data. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if |