gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n.io / MsgStr / toByteArray

toByteArray

fun toByteArray(): ByteArray

Converts this object to the default ByteArray representation as used in *.mo files. The strings for the different grammatical numbers (singular, plural(s)) are separated by GRAMMATICAL_NUMBER_SEPARATOR.

Returns
this MsgStr represented as a ByteArray (strings separated by GRAMMATICAL_NUMBER_SEPARATOR)