(data, optimizedBinaryString)
| 13550 | var utils = require('./utils'); |
| 13551 | |
| 13552 | function StringReader(data, optimizedBinaryString) { |
| 13553 | this.data = data; |
| 13554 | if (!optimizedBinaryString) { |
| 13555 | this.data = utils.string2binary(this.data); |
| 13556 | } |
| 13557 | this.length = this.data.length; |
| 13558 | this.index = 0; |
| 13559 | } |
| 13560 | StringReader.prototype = new DataReader(); |
| 13561 | /** |
| 13562 | * @see DataReader.byteAt |
nothing calls this directly
no outgoing calls
no test coverage detected