public static class CharToByteEncoder.Generic extends Object implements CharToByteEncoder
CharToByteEncoder.Generic| Modifier and Type | Field and Description |
|---|---|
static CharToByteEncoder.Generic |
UTF8
.
|
EMPTY| Constructor and Description |
|---|
CharToByteEncoder.Generic(Charset charset) |
CharToByteEncoder.Generic(String encoding) |
public static final CharToByteEncoder.Generic UTF8
public CharToByteEncoder.Generic(Charset charset)
public CharToByteEncoder.Generic(String encoding)
public byte[] encode(char c)
throws EncodingException
CharToByteEncoderencode in interface CharToByteEncoderc - the char to encodeEncodingExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.