BackupDataOutput.WriteEntityData(Byte[], Int32) 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.
Write a chunk of data under the current entity to the backup transport.
[Android.Runtime.Register("writeEntityData", "([BI)I", "GetWriteEntityData_arrayBIHandler")]
public virtual int WriteEntityData (byte[]? data, int size);
[<Android.Runtime.Register("writeEntityData", "([BI)I", "GetWriteEntityData_arrayBIHandler")>]
abstract member WriteEntityData : byte[] * int -> int
override this.WriteEntityData : byte[] * int -> int
Parameters
- data
- Byte[]
A raw data buffer to send
- size
- Int32
The number of bytes to be sent in this chunk
Returns
the number of bytes written
- Attributes
Exceptions
if the write failed
Remarks
Write a chunk of data under the current entity to the backup transport.
Java documentation for android.app.backup.BackupDataOutput.writeEntityData(byte[], int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.