SyntaxFix
Write A Post
Hire A Developer
Questions
How about using
ByteBuffer byteBuffer = StandardCharsets.UTF_8.encode(myString)