Companion

object Companion

Functions

Link copied to clipboard
fun buildWvdV2(type: DeviceTypes, securityLevel: Int, privateKeyDer: ByteArray, clientIdBytes: ByteArray, rawFlags: Int = 0): ByteArray

Build a WVD v2 file (bytes) from parts.

Link copied to clipboard
fun load(path: String, fileSystem: FileSystem): Device
fun load(path: Path, fileSystem: FileSystem): Device

Read a WVD v2 file from path.

Link copied to clipboard
fun loads(data: ByteArray): Device

Parse a raw WVD v2 file from bytes.

fun loads(data: String): Device

Parse a Base64-encoded WVD v2 blob.

Link copied to clipboard

Bring a WVD v1 blob forward to v2.

fun migrate(data: String): Device

Bring a Base64-encoded WVD v1 blob forward to v2.