Partager via


Parcel.WriteBlob Method

Definition

Overloads

WriteBlob(Byte[])

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

WriteBlob(Byte[], Int32, Int32)

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

WriteBlob(Byte[])

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

[Android.Runtime.Register("writeBlob", "([B)V", "", ApiSince=33)]
public void WriteBlob (byte[]? b);
[<Android.Runtime.Register("writeBlob", "([B)V", "", ApiSince=33)>]
member this.WriteBlob : byte[] -> unit

Parameters

b
Byte[]

Bytes to place into the parcel.

Attributes

Remarks

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

If the blob is small, then it is stored in-place, otherwise it is transferred by way of an anonymous shared memory region. If you prefer send in-place, please use #writeByteArray(byte[]).

Java documentation for android.os.Parcel.writeBlob(byte[]).

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.

Applies to

WriteBlob(Byte[], Int32, Int32)

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

[Android.Runtime.Register("writeBlob", "([BII)V", "", ApiSince=33)]
public void WriteBlob (byte[]? b, int offset, int len);
[<Android.Runtime.Register("writeBlob", "([BII)V", "", ApiSince=33)>]
member this.WriteBlob : byte[] * int * int -> unit

Parameters

b
Byte[]

Bytes to place into the parcel.

offset
Int32

Index of first byte to be written.

len
Int32

Number of bytes to write.

Attributes

Remarks

Write a blob of data into the parcel at the current #dataPosition, growing #dataCapacity if needed.

If the blob is small, then it is stored in-place, otherwise it is transferred by way of an anonymous shared memory region. If you prefer send in-place, please use #writeByteArray(byte[], int, int).

Java documentation for android.os.Parcel.writeBlob(byte[], int, 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.

Applies to