⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mixeddatainputstream.java

📁 fortran并行计算包
💻 JAVA
字号:
/* *  (C) 2001 by Argonne National Laboratory *      See COPYRIGHT in top-level directory. *//* *  @author  Anthony Chan */package logformat.clog;import java.io.*;// Extend java.io.DataInputStream to include a readString() methodpublic class MixedDataInputStream extends DataInputStream{    public MixedDataInputStream( InputStream in )    {        super( in );    }    // Return a trimed String from reading the Stream with a temporary buffer    public String readString( int bytesize ) throws IOException    {        byte[] bytebuf = new byte[ bytesize ];        super.readFully( bytebuf );        return ( new String( bytebuf ) ).trim();    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -