iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Complete Buffer module

Open ILyoan opened this issue 11 years ago • 1 comments

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)

ILyoan avatar Jun 30 '15 07:06 ILyoan

Closing this issue.

Treat encoding at separate issue.

ILyoan avatar Jul 14 '15 06:07 ILyoan