Hannes Wallnoefer wrote:
On Aug 26, 1:31 am, Daniel Friesen <[email protected]> wrote:
The CommonJS (formerly ServerJS) pesudo-wg is standardizing a classes
for working with binary data.
(Right now either Binary/B ByteString/ByteArray or Binary/C Blob/Buffer*)

Is this something that the Rhino implementation of could be put in the
Rhino repo?

I've started implementing native ByteArray and IOStream wrappers in
Helma NG:

http://github.com/hns/helma-ng/blob/c01ecd4aff44820cb515479ea709319012adaa85/src/org/helma/wrappers/ByteArray.java
http://github.com/hns/helma-ng/blob/c01ecd4aff44820cb515479ea709319012adaa85/src/org/helma/wrappers/IOStream.java

I think these could become part of Rhino once the standardization
process has settled. For now I think it's best to keep this outside of
Rhino to avoid skewing the process.

Hannes
Mkay, and I've been working on Blob and Buffer* in MonkeyScript:
http://github.com/dantman/monkeyscript.lite/tree/master/src/common/org/monkeyscript/lite/

I was just asking as having whatever Binary/? proposal is finalized inside Rhino itself is one less reason for omitting b[idx] from the spec.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to