From a64a9ee53c1336941f52257fa14ae656ef79f230 Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Tue, 16 Oct 2018 17:04:58 +0300 Subject: [PATCH 1/6] Fix error 1. Fork after fixing this issue: https://github.com/arextar/browser-buffer/issues/2 2. Add "Usage" code --- README.markdown | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index f194422..e753809 100644 --- a/README.markdown +++ b/README.markdown @@ -1,6 +1,19 @@ # Browser-buffer.js An attempt at mimicing node.js's Buffer API in the browser using typed arrays. This project uses a lot of code from node.js's (lib/buffer.js)[https://github.com/joyent/node/blob/master/lib/buffer.js]. This library still needs a lot of work both to get it running across the board and to clean up some of the pollution it puts on the UInt8Array prototype. +# Usage: +```javascript + + + +``` + ## (lightly) Tested in: * Chrome 18 (beta) (Ubuntu) * Firefox 10.0.2 (Ubuntu) @@ -10,4 +23,4 @@ An attempt at mimicing node.js's Buffer API in the browser using typed arrays. T 1. hex 2. binary 3. base64 (possibly use btoa/atob?) - 4. ucs-2 \ No newline at end of file + 4. ucs-2 From dac9409f50a5ee9cf353dcfe8e1dc8ca6e5b4f8e Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Mon, 29 Oct 2018 14:42:00 +0200 Subject: [PATCH 2/6] Add links for online tests on my page. Add links for online tests on my page. --- README.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.markdown b/README.markdown index e753809..f4be876 100644 --- a/README.markdown +++ b/README.markdown @@ -24,3 +24,8 @@ An attempt at mimicing node.js's Buffer API in the browser using typed arrays. T 2. binary 3. base64 (possibly use btoa/atob?) 4. ucs-2 + +## Online Tests from /test/ folder +test: https://username1565.github.io/browser-buffer/test/test.htm +benchmark: https://username1565.github.io/browser-buffer/test/benchmark.htm +debug (no display something): https://username1565.github.io/browser-buffer/test/debug.htm From 03ce287065c4a42030b737cd6fd22a0418a50c03 Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Mon, 29 Oct 2018 14:42:38 +0200 Subject: [PATCH 3/6] fix display fix display --- README.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index f4be876..64502e8 100644 --- a/README.markdown +++ b/README.markdown @@ -26,6 +26,6 @@ An attempt at mimicing node.js's Buffer API in the browser using typed arrays. T 4. ucs-2 ## Online Tests from /test/ folder -test: https://username1565.github.io/browser-buffer/test/test.htm -benchmark: https://username1565.github.io/browser-buffer/test/benchmark.htm -debug (no display something): https://username1565.github.io/browser-buffer/test/debug.htm +* test: https://username1565.github.io/browser-buffer/test/test.htm +* benchmark: https://username1565.github.io/browser-buffer/test/benchmark.htm +* debug (no display something): https://username1565.github.io/browser-buffer/test/debug.htm From da58994a3e305d0c520382383ec940e4ad63fece Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Mon, 29 Oct 2018 14:43:22 +0200 Subject: [PATCH 4/6] Fix link fix link --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 64502e8..ad34a51 100644 --- a/README.markdown +++ b/README.markdown @@ -1,5 +1,5 @@ # Browser-buffer.js -An attempt at mimicing node.js's Buffer API in the browser using typed arrays. This project uses a lot of code from node.js's (lib/buffer.js)[https://github.com/joyent/node/blob/master/lib/buffer.js]. This library still needs a lot of work both to get it running across the board and to clean up some of the pollution it puts on the UInt8Array prototype. +An attempt at mimicing node.js's Buffer API in the browser using typed arrays. This project uses a lot of code from node.js's [lib/buffer.js](https://github.com/joyent/node/blob/master/lib/buffer.js). This library still needs a lot of work both to get it running across the board and to clean up some of the pollution it puts on the UInt8Array prototype. # Usage: ```javascript From 5471890fdc94ec4f6b461aa59cebc50a7867a99a Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Mon, 29 Oct 2018 14:44:47 +0200 Subject: [PATCH 5/6] Fix my links Fix my links --- README.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index ad34a51..30826a7 100644 --- a/README.markdown +++ b/README.markdown @@ -26,6 +26,6 @@ An attempt at mimicing node.js's Buffer API in the browser using typed arrays. T 4. ucs-2 ## Online Tests from /test/ folder -* test: https://username1565.github.io/browser-buffer/test/test.htm -* benchmark: https://username1565.github.io/browser-buffer/test/benchmark.htm -* debug (no display something): https://username1565.github.io/browser-buffer/test/debug.htm +* [test](https://username1565.github.io/browser-buffer/test/test.htm) +* [benchmark](https://username1565.github.io/browser-buffer/test/benchmark.htm) +* [debug (no display anything)](https://username1565.github.io/browser-buffer/test/debug.htm) From b2dea5b24c49c9c42efed1a0be92e28b02d72dac Mon Sep 17 00:00:00 2001 From: username1565 <39200328+username1565@users.noreply.github.com> Date: Mon, 29 Oct 2018 14:45:28 +0200 Subject: [PATCH 6/6] Add description Add description --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 30826a7..ba8d0bc 100644 --- a/README.markdown +++ b/README.markdown @@ -27,5 +27,5 @@ An attempt at mimicing node.js's Buffer API in the browser using typed arrays. T ## Online Tests from /test/ folder * [test](https://username1565.github.io/browser-buffer/test/test.htm) -* [benchmark](https://username1565.github.io/browser-buffer/test/benchmark.htm) +* [benchmark (wait some time)](https://username1565.github.io/browser-buffer/test/benchmark.htm) * [debug (no display anything)](https://username1565.github.io/browser-buffer/test/debug.htm)