Main.java Source code

Java tutorial

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 String byteToStringOfBit(byte[] bs) {
        BinaryCodec binaryCodec = new BinaryCodec();
        return new String(binaryCodec.encode(bs));
    }
}