DatagramPacket.GetData Method

Definition

Returns the data buffer.

[Android.Runtime.Register("getData", "()[B", "")]
public byte[]? GetData ();
[<Android.Runtime.Register("getData", "()[B", "")>]
member this.GetData : unit -> byte[]

Returns

Byte[]

the buffer used to receive or send data

Attributes

Remarks

Java documentation for java.net.DatagramPacket.getData().

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