Searched refs:byteLength (Results 1 – 2 of 2) sorted by relevance
403 private static String getIpAddressString(ByteBuffer ip, int byteLength) { in getIpAddressString() argument404 if (ip == null || ip.remaining() < byteLength) return "invalid"; in getIpAddressString()406 byte[] bytes = new byte[byteLength]; in getIpAddressString()407 ip.get(bytes, 0, byteLength); in getIpAddressString()
134 protected static byte[] getKeyBytes(int byteLength) { in getKeyBytes() argument135 return Arrays.copyOf(KEY_DATA, byteLength); in getKeyBytes()