I want to store a list of binary codes in a String[] array, such as in the following example...
String[] str={"10001", "100101","101010101"};
How much memory is required to store the array?
You will find here the following result:
Minimum String memory usage (bytes) = 8 * (int) ((((no chars) * 2) + 45) / 8)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With