* Reads a protocol string list * @returns {Array}
()
| 166 | * @returns {Array} |
| 167 | */ |
| 168 | readStringList() { |
| 169 | const length = this.readShort(); |
| 170 | const list = new Array(length); |
| 171 | for (let i = 0; i < length; i++) { |
| 172 | list[i] = this.readString(); |
| 173 | } |
| 174 | return list; |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Reads the amount of bytes that the field has and returns them (slicing them). |
no test coverage detected