class BinaryReader {

    public String readAndBase64EncodeBinary(int length) {
        return Base64.getEncoder().encodeToString(readBytes(length));
    }

    public  BinaryReader(BinaryReader binaryReader, int position);
    public  BinaryReader(InputStream inputStream, int size);
    public  BinaryReader(byte[] bytes);

}