Reads a counted string from the stream. A counted string is a one byte value indicating string length, followed by bytes of data. @return A byte array containing the string. @throws WireParseException The end of the stream was reached.
()
| 230 | * @throws WireParseException The end of the stream was reached. |
| 231 | */ |
| 232 | public byte [] |
| 233 | readCountedString() throws WireParseException { |
| 234 | int len = readU8(); |
| 235 | return readByteArray(len); |
| 236 | } |
| 237 | |
| 238 | } |
no test coverage detected