[]
Adds the specified data to the end of the byte array stream. This method modifies the byte array buffer. It can also discard the already read input.
public virtual void addByteArray(byte[] data, int off, int len)
Type | Name | Description |
---|---|---|
byte[] | data | The data to add. The data is copied. |
int | off | The index, in data, of the first element to add to the stream. |
int | len | The number of elements to add to the array. |