次の方法で共有


Parcel.WriteByteArray Method

Definition

Overloads

WriteByteArray(Byte[])

Write a byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

WriteByteArray(Byte[], Int32, Int32)

Write a byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

WriteByteArray(Byte[])

Write a byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

[Android.Runtime.Register("writeByteArray", "([B)V", "")]
public void WriteByteArray (byte[]? b);
[<Android.Runtime.Register("writeByteArray", "([B)V", "")>]
member this.WriteByteArray : byte[] -> unit

Parameters

b
Byte[]

Bytes to place into the parcel.

Attributes

Remarks

Write a byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

Java documentation for android.os.Parcel.writeByteArray(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

WriteByteArray(Byte[], Int32, Int32)

Write a byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

[Android.Runtime.Register("writeByteArray", "([BII)V", "")]
public void WriteByteArray (byte[]? b, int offset, int len);
[<Android.Runtime.Register("writeByteArray", "([BII)V", "")>]
member this.WriteByteArray : 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 byte array into the parcel at the current #dataPosition, growing #dataCapacity if needed.

Java documentation for android.os.Parcel.writeByteArray(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