Macadamian/titanium_mobile — pull request #137 by dlifshitz-maca (2012-08-22 19:08:53+00:00)
Title: (partial) TIMOB-9543: BlackBerry: Implement Ti.BufferStream

Reviewer: Harut

```
[Issues Fixed]
(partial) TIMOB-9543: BlackBerry: Implement Ti.BufferStream

[Description]
This partial patch implements BufferStream.read and the BufferStream part of Stream.createStream

[Changes]
BufferStream.yml
- update for read()

Stream.yml
- update for createStream

TiBufferStreamObject.cpp/h
- function createBufferStream
- changed the params to be an Object
- use the prototype instead of Object::Clone

TiStreamObject.cpp
- function _createStream
- create the stream based on the source and set up the properties

bootstrap.js
- implement BufferStream.read

[Tests]
Test 1: Run test code
1) Use the app.js attached to the jira
2) Verify the correct parts of the stream are read to the buffer, for each length specified, and that the number of bytes read matches
```