We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc1c07 commit cad96b1Copy full SHA for cad96b1
src/javaxt/exchange/Attachment.java
@@ -322,7 +322,7 @@ else if (nodeName.equalsIgnoreCase("ItemAttachment")){
322
}
323
else if(nodeName.equalsIgnoreCase("Content")){
324
if (getContent){
325
- return new javaxt.utils.Base64.InputStream(
+ return javaxt.utils.Base64.decode(
326
new ContentInputStream(inputStream)
327
);
328
@@ -452,7 +452,7 @@ public FileInputStream(){
452
+ "<t:Content>").getBytes("UTF-8"));
453
454
455
- f = new javaxt.utils.Base64.InputStream(file.getInputStream(), javaxt.utils.Base64.ENCODE);
+ f = javaxt.utils.Base64.encode(file.getInputStream());
456
/*
457
<FileAttachment>
458
<AttachmentId/>
0 commit comments