MacAddress.FromBytes(Byte[]) 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.
Creates a MacAddress from the given byte array representation.
[Android.Runtime.Register("fromBytes", "([B)Landroid/net/MacAddress;", "", ApiSince=28)]
public static Android.Net.MacAddress FromBytes (byte[] addr);
[<Android.Runtime.Register("fromBytes", "([B)Landroid/net/MacAddress;", "", ApiSince=28)>]
static member FromBytes : byte[] -> Android.Net.MacAddress
Parameters
- addr
- Byte[]
a byte array representation of a MAC address.
Returns
the MacAddress corresponding to the given byte array representation.
- Attributes
Remarks
Creates a MacAddress from the given byte array representation. A valid byte array representation for a MacAddress is a non-null array of length 6.
Java documentation for android.net.MacAddress.fromBytes(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.