encode

fun encode(data: PListValue, format: PListFormat = PListFormat.XML): ByteArray