Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.io.IOException;

import java.io.OutputStream;

public class Main {
    public static void writeAmrFileHeader(OutputStream out) throws IOException {
        byte[] header = new byte[6];
        header[0] = '#'; // AMR header
        header[1] = '!';
        header[2] = 'A';
        header[3] = 'M';
        header[4] = 'R';
        header[5] = '\n';
        out.write(header, 0, 6);
    }
}