Ciąg do bajt Java UTF-8

String someText = "text";
byte[] message = someText.getBytes(StandardCharsets.UTF_8);
Worried Willet