getData

Returns the attachment's data as a ByteArray.

Return

the attachment's data.