Module ringo/encoding
Class Decoder
Instance Methods
Instance Properties
Class Encoder
Instance Methods
- clear()
- close()
- encode(string, start, end)
- toByteArray()
- toByteString()
- toString()
- writeTo(sink)
Instance Properties
Decoder.prototype.clear ()
Decoder.prototype.close ()
Decoder.prototype.decode (bytes, start, end)
Decode bytes from the given buffer.
Parameters
| bytes | a ByteString or ByteArray | |
| start | The start index, or 0 if undefined | |
| end | the end index, or bytes.length if undefined |
