DatagramPacket.GetData 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.
Returns the data buffer.
[Android.Runtime.Register("getData", "()[B", "")]
public byte[]? GetData ();
[<Android.Runtime.Register("getData", "()[B", "")>]
member this.GetData : unit -> byte[]
Returns
the buffer used to receive or send data
- Attributes
Remarks
Returns the data buffer. The data received or the data to be sent starts from the offset
in the buffer, and runs for length
long.
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.