You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
471 B
21 lines
471 B
package foundation.pEp.jniadapter;
|
|
|
|
public class _Blob {
|
|
public byte[] data;
|
|
public byte[] mime_type;
|
|
public byte[] filename;
|
|
|
|
_Blob() { }
|
|
|
|
private native byte[] _dataToXER() throws pEpException;;
|
|
public String dataToXER() {
|
|
return AbstractEngine.toUTF16(_dataToXER());
|
|
}
|
|
|
|
_Blob(Blob b) {
|
|
data = b.data;
|
|
mime_type = AbstractEngine.toUTF8(b.mime_type);
|
|
filename = AbstractEngine.toUTF8(b.filename);
|
|
}
|
|
}
|
|
|
|
|