Searched refs:octets (Results 1 – 7 of 7) sorted by relevance
47 public final ByteArrayOutputStream octets = new ByteArrayOutputStream(32); field in WifiSsid59 wifiSsid.octets.write(ssid, 0/* the start offset */, ssid.length);; in createFromByteArray()86 a.octets.write(val); in createFromHex()103 octets.write('\\'); in convertToBytes()107 octets.write('"'); in convertToBytes()111 octets.write('\n'); in convertToBytes()115 octets.write('\r'); in convertToBytes()119 octets.write('\t'); in convertToBytes()123 octets.write(27); //escape char in convertToBytes()138 octets.write(val); in convertToBytes()[all …]
52 byte[] octets = new byte[size]; in readInteger()53 payload.get(octets); in readInteger()58 for (int n = octets.length - 1; n >= 0; n--) { in readInteger()59 value = (value << Byte.SIZE) | (octets[n] & 0xFF); in readInteger()62 for (byte octet : octets) { in readInteger()80 byte[] octets = new byte[length]; in readString()81 payload.get(octets); in readString()82 return new String(octets, charset); in readString()
466 int octets = msgBody.length() * 2; in calcUnicodeEncodingDetails() local469 if (octets > SmsConstants.MAX_USER_DATA_BYTES) { in calcUnicodeEncodingDetails()478 if (octets <= 9 * (maxUserDataBytesWithHeader - 2)) { in calcUnicodeEncodingDetails()498 ted.codeUnitsRemaining = (SmsConstants.MAX_USER_DATA_BYTES - octets) / 2; in calcUnicodeEncodingDetails()
369 String[] octets = addr.split("\\."); in trimV4AddrZeros()370 if (octets.length != 4) return addr; in trimV4AddrZeros()375 if (octets[i].length() > 3) return addr; in trimV4AddrZeros()376 builder.append(Integer.parseInt(octets[i])); in trimV4AddrZeros()
443 private static X509Certificate parseCACert(byte[] octets) throws CertificateException { in parseCACert() argument445 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(octets)); in parseCACert()448 private static Pair<PrivateKey, List<X509Certificate>> parsePkcs12(byte[] octets) in parsePkcs12() argument451 ByteArrayInputStream in = new ByteArrayInputStream(octets); in parsePkcs12()
122 byte[] octets = (byte[]) entry.toArray()[1]; in getProviderNames()123 ASN1Encodable obj = new ASN1InputStream(octets).readObject(); in getProviderNames()
208 public static String toHex(byte[] octets) { in toHex() argument209 StringBuilder sb = new StringBuilder(octets.length * 2); in toHex()210 for (byte o : octets) { in toHex()