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

Method toString

app/src/main/java/com/sun/mail/util/ASCIIUtility.java:219–227  ·  view source on GitHub ↗

Convert the bytes within the specified range of the given byte array into a String. The range extends from start till, but not including end . @param b the bytes @param start the first byte offset @param end the last byte offset @return the String

(byte[] b, int start, int end)

Source from the content-addressed store, hash-verified

217 * @return the String
218 */
219 public static String toString(byte[] b, int start, int end) {
220 int size = end - start;
221 char[] theChars = new char[size];
222
223 for (int i = 0, j = start; i < size; )
224 theChars[i++] = (char)(b[j++]&0xff);
225
226 return new String(theChars);
227 }
228
229 /**
230 * Convert the bytes into a String.

Callers 13

next20Method · 0.95
readSimpleListMethod · 0.95
authoauth2Method · 0.95
toStringMethod · 0.95
getInitialResponseMethod · 0.95
getInitialResponseMethod · 0.95
parseIntMethod · 0.95
parseLongMethod · 0.95
getInitialResponseMethod · 0.95
getInitialResponseMethod · 0.95
readLineMethod · 0.45
readPrefixMethod · 0.45

Calls 2

availableMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected