* Writes a single byte * @param {Number} num Value of the byte, a number between 0 and 255.
(num)
| 102 | * @param {Number} num Value of the byte, a number between 0 and 255. |
| 103 | */ |
| 104 | writeByte(num) { |
| 105 | this.add(utils.allocBufferFromArray([num])); |
| 106 | } |
| 107 | |
| 108 | writeString(str) { |
| 109 | if (typeof str === "undefined") { |
no test coverage detected