/** * Skip all linear white spaces * * @param buf the buf which is being scanned for lws * @param start the offset to start at * @return the next position in buf which isn't a lws character */ private static int skipLws(byte[] buf, int start) { int i; for (i = start; i < buf.length; i++) { if (!isLws(buf[i])) { return i; } } return i; }
/** * Skip all linear white spaces * * @param buf the buf which is being scanned for lws * @param start the offset to start at * @return the next position in buf which isn't a lws character */ private static int skipLws(byte[] buf, int start) { int i; for (i = start; i < buf.length; i++) { if (!isLws(buf[i])) { return i; } } return i; }
/** * Skip all linear white spaces * * @param buf the buf which is being scanned for lws * @param start the offset to start at * @return the next position in buf which isn't a lws character */ private static int skipLws(byte[] buf, int start) { int i; for (i = start; i < buf.length; i++) { if (!isLws(buf[i])) { return i; } } return i; }