This function appends the given data in byte array to the specified stream.
The append starts at the given streamFixedOffset in the destination stream. If the stream already contains data in the
streamFixedOffset position and it is different from the data that is being appended, then this operation will fail.
Namespace: Microsoft.Cosmos.ManagementAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public void Append(
CosmosUri stream,
byte[] data,
long streamFixedOffset,
bool compression
) |
Visual Basic |
---|
Public Sub Append ( _
stream As CosmosUri, _
data As Byte(), _
streamFixedOffset As Long, _
compression As Boolean _
) |
Visual C++ |
---|
public:
void Append(
CosmosUri^ stream,
array<unsigned char>^ data,
long long streamFixedOffset,
bool compression
) |
Parameters
- stream
- Type: CosmosUri
The name of the stream to which the data needs to be appended.
- data
- Type: array<Byte>[]()[][]
The byte array containing the data to be appended.
- streamFixedOffset
- Type: Int64
This is for fixed offset append. Offset in the stream for the beginning of append
- compression
- Type: Boolean
Whether compression should be used while transferring data to the VC.
See Also