Package crackers.kobots.utilities
Class BitsAndBytesKt
-
- All Implemented Interfaces:
public final class BitsAndBytesKt
-
-
Method Summary
Modifier and Type Method Description final static IntegertoShort(ByteArray $self)final static LongtoLong(ByteArray $self)final static <Error class: unknown class>toByteArray(Short $self)final static Pair<Byte, Byte>toBytes(Integer $self)final static ByteasByte(Boolean $self)final static Stringhex(Integer $self)Short form to get unsigned hex strings final static Stringhex(Short $self)final static Stringhex(Byte $self)final static Stringhex(ByteArray $self)final static StringtoBinaryString(Integer $self, Integer bits)Get a binary string out of an Int, left padded with 0s to the specified number of bits -
-
Method Detail
-
toByteArray
final static <Error class: unknown class> toByteArray(Short $self)
-
toBinaryString
final static String toBinaryString(Integer $self, Integer bits)
Get a binary string out of an Int, left padded with 0s to the specified number of bits
-
-
-
-