Package io.mangoo.utils
Class ByteUtils
java.lang.Object
io.mangoo.utils.ByteUtils
- Author:
- svenkubiak
-
Method Summary
-
Method Details
-
bitLength
public static int bitLength(byte[] bytes) Calculates the bit length of a given byte array- Parameters:
bytes- The byte array- Returns:
- The number of bit
-
bitLength
Calculates the bit length of a given string- Parameters:
string- The string- Returns:
- The number of bit
-