MCPcopy Create free account
hub / github.com/M66B/FairEmail / readString

Method readString

app/src/main/java/com/sun/mail/iap/Response.java:287–298  ·  view source on GitHub ↗

Read a string as an arbitrary sequence of characters, stopping at the delimiter Used to read part of a response code inside []. @param delim the delimiter character @return the string

(char delim)

Source from the content-addressed store, hash-verified

285 * @return the string
286 */
287 public String readString(char delim) {
288 skipSpaces();
289
290 if (index >= size) // already at end of response
291 return null;
292
293 int start = index;
294 while (index < size && buffer[index] != delim)
295 index++;
296
297 return toString(buffer, start, index);
298 }
299
300 public String[] readStringList() {
301 return readStringList(false);

Callers 15

readStringListMethod · 0.95
createFromParcelMethod · 0.80
createFromParcelMethod · 0.80
ScanResultMethod · 0.80
ScanResultMethod · 0.80
UriTypeMethod · 0.80
EmailProviderMethod · 0.80
BODYMethod · 0.80
NamespaceMethod · 0.80
BODYSTRUCTUREMethod · 0.80
parseParametersMethod · 0.80

Calls 3

skipSpacesMethod · 0.95
toStringMethod · 0.95
parseStringMethod · 0.95

Tested by

no test coverage detected