Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import org.apache.commons.codec.binary.BinaryCodec;
public class Main {
public static byte[] bitsToBytes(String bits) {
BinaryCodec binaryCodec = new BinaryCodec();
return binaryCodec.decode(bits.getBytes());
}
}