(str)
| 29 | return this; |
| 30 | } |
| 31 | encode8BitString(str) { |
| 32 | this.encode('uint32_t', str.length); |
| 33 | this.encode('bool', true); |
| 34 | this.argList.push({ |
| 35 | type: 'bytes', |
| 36 | value: str |
| 37 | }); |
| 38 | return this; |
| 39 | } |
| 40 | encodeNullString() { |
| 41 | this.encode('uint32_t', 0xffffffff); |
| 42 | return this; |
no test coverage detected