A java.io.InputStream wrapping a JavaScript ArrayBuffer
This class is extremely similar to a ByteArrayInputStream, but
uses ArrayBuffers as the underlying representation. Stream
implementations may special case on this stream for better
performance and access the underlying buffer directly. (They still
need to make sure the internal pointers are properly aligned
though).
A java.io.InputStream wrapping a JavaScript ArrayBuffer
This class is extremely similar to a ByteArrayInputStream, but uses ArrayBuffers as the underlying representation. Stream implementations may special case on this stream for better performance and access the underlying buffer directly. (They still need to make sure the internal pointers are properly aligned though).