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

IntelliJ IDEA – Find and Replace Text

Find and replace text on intellij idea by using (ctrl+R) or (ctrl+shift+R) for windows. Find and replace If you want to find and replace word on a file just use (Ctrl+R). But if you need to replace word in all file, you can use (Ctrl+Shift+R) shortcut.   For example search and replace in all file, see image below:… Read More »

IntelliJ IDEA – Auto Complete Code

Auto complete code is the most common used feature in intellij idea. You can try this auto complete with (ctrl+space) for windows and (^Space) for mac. Auto Complete Code See the image below: Super completion with (Control-Shift-Space), the completion is based on type, not name. For more goodness: Help -> Default Keymap Reference Related System.out.println Shortcut Restart and… Read More »