/* * Copyright (c) 2019 by Naohide Sano, All rights reserved. * * Programmed by Naohide Sano */ package org.gjt.convert.binhex; import java.io.IOException; import java.io.InputStream; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Hqx7_to_Hqx8InputStreamTest. * * @author Naohide Sano (umjammer) * @version 0.00 2019/06/11 umjammer initial version
*/ class Hqx7_to_Hqx8InputStreamTest { @Test void test() { fail("Not yet implemented"); } public static void main(String[] args) { try (InputStream in = new Hqx7_to_Hqx8InputStream(System.in)) { byte[] buf = new byte[1024]; System.err.println("Starting to convert"); while (true) { int r = in.read(buf); if (r <= 0) return; System.out.write(buf, 0, r); } } catch (IOException e) { e.printStackTrace(); } } } /* */