Searched refs:textBytes (Results 1 – 5 of 5) 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()
495 byte[] textBytes = text.getBytes(StandardCharsets.UTF_8); in createTextRecord()508 ByteBuffer buffer = ByteBuffer.allocate(1 + languageCodeBytes.length + textBytes.length); in createTextRecord()513 buffer.put(textBytes); in createTextRecord()
248 byte[] textBytes = text[i].getBytes(StandardCharsets.UTF_8); in getI18NameListPayload()257 stream.write(textBytes); in getI18NameListPayload()