ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Add a ByteBuffer to classes lib module #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some low-level data buffer ala Java ByteBuffer

Original issue reported on code.google.com by zar...@gmail.com on 3 Oct 2010 at 1:16

GoogleCodeExporter commented 8 years ago
Could this be used? 
http://delphimax.wordpress.com/2010/12/07/buffer-classes-preliminary-code/

Original comment by lennart....@gmail.com on 22 Dec 2010 at 2:45

GoogleCodeExporter commented 8 years ago
I'm more intending to offer the low-level typing of get/put of the Java 
ByteBuffer, so you can read/write a byte, a word, a signed int, a 
single-precision, a double-precision, etc. and all the low-level datatypes that 
you can find in binary data.
Other than that, yes, it is intended to wrap around streams or memory buffers.

Original comment by zar...@gmail.com on 22 Dec 2010 at 3:29

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 4 Aug 2011 at 6:58

GoogleCodeExporter commented 8 years ago
JS TpedArrays might be a good temple

http://www.khronos.org/registry/typedarray/specs/latest/
https://developer.mozilla.org/en/javascript_typed_arrays

Original comment by zar...@gmail.com on 9 Sep 2011 at 7:16