This repository was archived by the owner on Apr 8, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public final native String getResultAsString()/*-{
3939 return this.result;
4040 }-*/ ;
4141
42- public final native Unit8Array getResultAsBuffer ()/*-{
42+ public final native Uint8Array getResultAsBuffer ()/*-{
4343 if(this.result){
4444 return new $wnd.Uint8Array(this.result);
4545 }else{
Original file line number Diff line number Diff line change 22
33import com .google .gwt .core .client .JavaScriptObject ;
44
5- public class Unit8Array extends JavaScriptObject {
6- protected Unit8Array (){}
5+ public class Uint8Array extends JavaScriptObject {
6+ protected Uint8Array (){}
77 public final native int length ()/*-{
88 return this.length;
99 }-*/ ;
Original file line number Diff line number Diff line change 44import com .akjava .gwt .html5 .client .file .FileHandler ;
55import com .akjava .gwt .html5 .client .file .FileReader ;
66import com .akjava .gwt .html5 .client .file .FileUtils ;
7- import com .akjava .gwt .html5 .client .file .Unit8Array ;
7+ import com .akjava .gwt .html5 .client .file .Uint8Array ;
88import com .akjava .gwt .html5 .client .file .webkit .DirectoryCallback ;
99import com .akjava .gwt .html5 .client .file .webkit .FileEntry ;
1010import com .akjava .gwt .html5 .client .file .webkit .FilePathCallback ;
@@ -70,7 +70,7 @@ public void onLoad() {
7070 if (asString ) {
7171 text = reader .getResultAsString ();
7272 } else {
73- Unit8Array array = reader .getResultAsBuffer ();
73+ Uint8Array array = reader .getResultAsBuffer ();
7474 log ("length:" + array .length ());
7575
7676 StringBuilder builder = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments