Tag Archives: Convert

String to Byte Array in Java

To convert string to byte array in java you can use “getBytes” function. For example: “your string”.getBytes() String to Byte Array in Java See image below: That is how to convert string to byte array in java. In this example i’m using: IntelliJ IDEA Spring Boot Maven Other convert topics