public class StringBuilderEncoder extends Object implements Encoder<StringBuilder>
Constructor and Description |
---|
StringBuilderEncoder(Charset charset) |
StringBuilderEncoder(Charset charset,
int charBufferSize,
int byteBufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
encode(StringBuilder source,
ByteBufferDestination destination)
Encodes the specified source object to some binary representation and writes the result to the specified
destination.
|
public StringBuilderEncoder(Charset charset)
public StringBuilderEncoder(Charset charset, int charBufferSize, int byteBufferSize)
public void encode(StringBuilder source, ByteBufferDestination destination)
Encoder
encode
in interface Encoder<StringBuilder>
source
- the object to encode.destination
- holds the ByteBuffer to write into. Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.