Skip to content

Commit 6f53590

Browse files
committed
Renamed ByteBufferTA to ByteBufferAB and ByteBufferAB to ByteBufferAB_DataView, added compile steps, fixed closurecompiler warnings on ieee754
1 parent 3092648 commit 6f53590

16 files changed

+714
-601
lines changed

dist/ByteBufferAB.js

Lines changed: 381 additions & 106 deletions
Large diffs are not rendered by default.

dist/ByteBufferAB.min.js

Lines changed: 87 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ByteBufferAB.min.js.gz

679 Bytes
Binary file not shown.

dist/ByteBufferAB.min.map

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

dist/experimental/ByteBufferTA.js renamed to dist/ByteBufferAB_DataView.js

Lines changed: 106 additions & 381 deletions
Large diffs are not rendered by default.

dist/ByteBufferAB_DataView.min.js

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ByteBufferAB_DataView.min.js.gz

7.43 KB
Binary file not shown.

dist/ByteBufferAB_DataView.min.map

Lines changed: 8 additions & 0 deletions
Large diffs are not rendered by default.

dist/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ ByteBuffer uses either ArrayBuffers in the browser or Buffers under node.js.
55

66
### Browsers: ArrayBuffers
77

8+
##### Using Typed Arrays
9+
810
* **[ByteBufferAB.js](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB.js)**
9-
uses an ArrayBuffer as its backing buffer, accessed through a DataView.
11+
uses an ArrayBuffer as its backing buffer, accessed through an Uint8Array (Typed Array).
1012

1113
* **[ByteBufferAB.min.js](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB.min.js)**
1214
has been compiled with Closure Compiler using advanced optimizations.
@@ -17,6 +19,20 @@ ByteBuffer uses either ArrayBuffers in the browser or Buffers under node.js.
1719
* **[ByteBufferAB.min.map](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB.min.map)**
1820
is the source map generated by Closure Compiler.
1921

22+
##### Using a DataView
23+
24+
* **[ByteBufferAB_DataView.js](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView.js)**
25+
uses an ArrayBuffer as its backing buffer, accessed through a DataView.
26+
27+
* **[ByteBufferAB_DataView.min.js](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView.min.js)**
28+
has been compiled with Closure Compiler using advanced optimizations.
29+
30+
* **[ByteBufferAB_DataView.min.js.gz](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView.min.js.gz)**
31+
has also been gzipped using `-9`.
32+
33+
* **[ByteBufferAB_DataView.min.map](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView.min.map)**
34+
is the source map generated by Closure Compiler.
35+
2036
### node.js: Buffers
2137

2238
* **[ByteBufferNB.js](https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferNB.js)**

dist/experimental/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)