loads

fun loads(data: ByteArray): Device

Parse a raw WVD v2 file from bytes.

Throws

if the data is not a valid WVD v2 blob

DecodeException

if an embedded protobuf message is malformed


fun loads(data: String): Device

Parse a Base64-encoded WVD v2 blob.

Throws

if decoding or parsing fails