EchConfigList.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.
Factory method to construct a new [EchConfigList] from a byte array.
[Android.Runtime.Register("fromBytes", "([B)Landroid/net/ssl/EchConfigList;", "", ApiSince=37)]
public static Android.Net.Ssl.EchConfigList FromBytes(byte[] byteArr);
[<Android.Runtime.Register("fromBytes", "([B)Landroid/net/ssl/EchConfigList;", "", ApiSince=37)>]
static member FromBytes : byte[] -> Android.Net.Ssl.EchConfigList
Parameters
- byteArr
- Byte[]
The encoded ECH configuration list, including its two-byte length prefix.
Returns
A new configuration list that stores a copy of the supplied bytes.
- Attributes
Remarks
Factory method to construct a new [EchConfigList] from a byte array.
The raw bytes from a HTTPS DNS record should be fed directly into this method.
Android reference for android.net.ssl.EchConfigList.fromBytes.
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.