Searched refs:newEncoder (Results 1 – 1 of 1) sorted by relevance
79 ByteBuffer buffer = StandardCharsets.US_ASCII.newEncoder().encode(CharBuffer.wrap(alphabet)); in setAlphabet()109 charset.newEncoder().encode(CharBuffer.wrap(value)); in setValue()176 ByteBuffer buffer = charset.newEncoder().encode(CharBuffer.wrap(value)); in encodeValueCharacters()292 public CharsetEncoder newEncoder() { in newEncoder() method in Asn1IA5String.RestrictedCharset