vertx-rabbitmq-client icon indicating copy to clipboard operation
vertx-rabbitmq-client copied to clipboard

create buffer with default encoding

Open Tcheutchoua-Steve opened this issue 2 years ago • 0 comments

create buffer with default encoding.

Signed-off-by: Tcheutchoua Steve [email protected]

Motivation:

Current buffer creation uses, buffer(String string, String enc) Create a new buffer from a string and using the specified encoding. instead of buffer(String string)Create a new buffer from a string., hence passing the message as encoding.

So either, use default encoding, buffer(String) or update the current usage buffer(String, String) passing an encoding.

Tcheutchoua-Steve avatar May 30 '22 16:05 Tcheutchoua-Steve