Home | History | Annotate | Download | only in util

Lines Matching refs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
24 public static int readUnsignedInt24(DataInput in) throws IOException {
25 return (in.readUnsignedByte() << 16) | in.readUnsignedShort();
28 public static byte[] readTlsVariableLengthByteVector(DataInput in, int maxSizeBytes)
30 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes);
32 in.readFully(result);
36 public static int[] readTlsVariableLengthUnsignedShortVector(DataInput in, int maxSizeBytes)
38 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes);
42 result[i] = in.readUnsignedShort();
47 private static int readTlsVariableLengthVectorSizeBytes(DataInput in, int maxSizeBytes)
50 return in.readUnsignedByte();
52 return in.readUnsignedShort();
54 return readUnsignedInt24(in);
56 return in.readInt();