iotjs
iotjs copied to clipboard
Complete Buffer module
https://github.com/Samsung/iotjs/wiki/IoT.js-API:-Buffer
- Constructor
- [x] new Buffer(size)
- [x] new Buffer(buffer)
- [x] new Buffer(string)
- Class Method
- [x] Buffer.bytesLength(string)
- [x] Buffer.concat(list)
- [x] Buffer.isBuffer(obj)
- Instance Properties
- [x] length
- Instance Methods (Buffer.prototype)
- [x] equals(buffer)
- [x] compare(buffer)
- [x] write(string, start, end)
- [x] toString(start, end)
- [x] copy(target, targetStart, sourceStart, sourceEnd)
- [x] slice(start, end)
Closing this issue.
Treat encoding at separate issue.