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

Method readByteArray

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

Extract a NSTRING, starting at the current position. Return it as a ByteArray. The sequence 'NIL' is returned as null NSTRING := QuotedString | Literal | "NIL" @return a ByteArray

()

Source from the content-addressed store, hash-verified

411 * @return a ByteArray
412 */
413 public ByteArray readByteArray() {
414 /*
415 * Special case, return the data after the continuation uninterpreted.
416 * It's usually a challenge for an AUTHENTICATE command.
417 */
418 if (isContinuation()) {
419 skipSpaces();
420 return new ByteArray(buffer, index, size - index);
421 }
422 return (ByteArray)parseString(false, false);
423 }
424
425 /**
426 * Extract an ASTRING, starting at the current position

Callers 3

readBytesMethod · 0.95
BODYMethod · 0.80
RFC822DATAMethod · 0.80

Calls 3

isContinuationMethod · 0.95
skipSpacesMethod · 0.95
parseStringMethod · 0.95

Tested by

no test coverage detected