getData

fun getData(): ByteArray

Returns the attachment's data as a ByteArray.

Return

the attachment's data.