Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.math.BigInteger;

public class Main {
    public static void main(String[] argv) throws Exception {
        BigInteger bi = new BigInteger("100100100111111110000", 2);

        byte[] bytes = bi.toByteArray();
    }
}