Home | History | Annotate | Download | only in DNS

Lines Matching refs:array

13 private byte [] array;
21 * @param input The byte array to read from
25 array = input;
27 end = array.length;
64 if (len > array.length - pos) {
77 end = array.length;
96 if (pos > array.length) {
111 if (index >= array.length) {
116 end = array.length;
152 return (array[pos++] & 0xFF);
163 int b1 = array[pos++] & 0xFF;
164 int b2 = array[pos++] & 0xFF;
176 int b1 = array[pos++] & 0xFF;
177 int b2 = array[pos++] & 0xFF;
178 int b3 = array[pos++] & 0xFF;
179 int b4 = array[pos++] & 0xFF;
184 * Reads a byte array of a specified length from the stream into an existing
185 * array.
186 * @param b The array to read into.
187 * @param off The offset of the array to start copying data into.
194 System.arraycopy(array, pos, b, off, len);
199 * Reads a byte array of a specified length from the stream.
200 * @return The byte array.
207 System.arraycopy(array, pos, out, 0, len);
213 * Reads a byte array consisting of the remainder of the stream (or the
215 * @return The byte array.
221 System.arraycopy(array, pos, out, 0, len);
229 * @return A byte array containing the string.
235 int len = array[pos++] & 0xFF;