@@ -9,42 +9,39 @@ ByteBuffer.js uses either ArrayBuffers in the browser or Buffers under node.js.
9
9
10
10
Using Typed Arrays here is pretty much ideal, but it [ requires a somewhat recent browser] ( http://caniuse.com/#feat=typedarrays ) .
11
11
12
- * ** [ ByteBufferAB .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB .js ) **
12
+ * ** [ bytebuffer .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer .js ) **
13
13
uses an ArrayBuffer as its backing buffer, accessed through an [ Uint8Array] ( https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) .
14
14
15
- * ** [ ByteBufferAB .min.js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB .min.js ) **
15
+ * ** [ bytebuffer .min.js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer .min.js ) **
16
16
has been compiled with Closure Compiler using advanced optimizations.
17
17
18
- * ** [ ByteBufferAB .min.js.gz] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB .min.js.gz ) **
18
+ * ** [ bytebuffer .min.js.gz] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer .min.js.gz ) **
19
19
has also been gzipped using ` -9 ` .
20
20
21
- * ** [ ByteBufferAB .min.map] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB .min.map ) **
21
+ * ** [ bytebuffer .min.map] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer .min.map ) **
22
22
is the source map generated by Closure Compiler.
23
23
24
24
##### Accessed through a DataView ([ polyfill] ( https://github.com/inexorabletash/polyfill/blob/master/typedarray.js ) compatible)
25
25
26
26
Using DataViews is [ generally slower] ( https://github.com/dcodeIO/ByteBuffer.js/issues/16 ) but works well with common polyfills for
27
27
older browsers (avoids array access operators on Typed Arrays).
28
28
29
- * ** [ ByteBufferAB_DataView .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView .js ) **
29
+ * ** [ bytebuffer-dataview .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer-dataview .js ) **
30
30
uses an ArrayBuffer as its backing buffer, accessed through a [ DataView] ( https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/DataView ) .
31
31
32
- * ** [ ByteBufferAB_DataView .min.js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView .min.js ) **
32
+ * ** [ bytebuffer-dataview .min.js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer-dataview .min.js ) **
33
33
has been compiled with Closure Compiler using advanced optimizations.
34
34
35
- * ** [ ByteBufferAB_DataView .min.js.gz] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView .min.js.gz ) **
35
+ * ** [ bytebuffer-dataview .min.js.gz] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer-dataview .min.js.gz ) **
36
36
has also been gzipped using ` -9 ` .
37
37
38
- * ** [ ByteBufferAB_DataView .min.map] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferAB_DataView .min.map ) **
38
+ * ** [ bytebuffer-dataview .min.map] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer-dataview .min.map ) **
39
39
is the source map generated by Closure Compiler.
40
40
41
41
### node.js: [ Buffer] ( https://nodejs.org/api/buffer.html ) -backed
42
42
43
- * ** [ ByteBufferNB .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/ByteBufferNB .js ) **
43
+ * ** [ bytebuffer-node .js] ( https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer-node .js ) **
44
44
uses a [ node Buffer] ( https://nodejs.org/api/buffer.html ) as its backing buffer and accessor.
45
45
46
46
Also available as ` bytebuffer ` on [ npm] ( https://www.npmjs.org/package/bytebuffer ) and
47
47
[ bower] ( http://bower.io/search/?q=bytebuffer ) .
48
-
49
- When installed as an [ npm package] ( https://www.npmjs.org/package/bytebuffer ) , both versions are available.
50
- ` exports ` and ` exports.ByteBufferNB ` point at ByteBufferNB, ` exports.ByteBufferAB ` points at ByteBufferAB.
0 commit comments