Searched refs:textBytes (Results 1 – 6 of 6) sorted by relevance
57 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parse() local58 if (textBytes > MAXIMUM_OPERATOR_NAME_LENGTH) { in parse()60 + textBytes); in parse()
80 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parse() local81 if (textBytes > MAXIMUM_VENUE_NAME_LENGTH) { in parse()82 throw new ProtocolException("Venue Name exceeds the maximum allowed " + textBytes); in parse()
271 int textBytes = name.getText().getBytes(StandardCharsets.UTF_8).length; in parseI18Names() local272 if (textBytes > MAXIMUM_I18N_STRING_LENGTH) { in parseI18Names()274 + textBytes); in parseI18Names()
382 public static TextEntry fromBytes(byte[] textBytes) { in fromBytes() argument383 int delimitPos = ByteUtils.indexOf(textBytes, (byte) '='); in fromBytes()392 return new TextEntry(new String(textBytes, US_ASCII), (byte[]) null); in fromBytes()397 new String(Arrays.copyOf(textBytes, delimitPos), US_ASCII), in fromBytes()398 Arrays.copyOfRange(textBytes, delimitPos + 1, textBytes.length)); in fromBytes()
140 byte[] textBytes = text.getBytes(utfEncoding); in newTextRecord()148 textBytes in newTextRecord()
250 byte[] textBytes = text[i].getBytes(StandardCharsets.UTF_8); in getI18NameListPayload()259 stream.write(textBytes); in getI18NameListPayload()