Parcel.WriteByteArray 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.
Overloads
WriteByteArray(Byte[]) |
Write a byte array into the parcel at the current |
WriteByteArray(Byte[], Int32, Int32) |
Write a byte array into the parcel at the current |
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.