datamarshaloutputstream.java

来自「SRI international 发布的OAA框架软件」· Java 代码 · 共 82 行

JAVA
82
字号
/* $Id: DataMarshalOutputStream.java,v 1.1 2003/09/27 03:01:12 giuli Exp $*/
/**************************************************************************
 * Copyright 2002, 2003 SRI International. All rights reserved.
 *
 * The material contained in this file is confidential and proprietary to SRI
 * International and may not be reproduced, published, or disclosed to others
 * without authorization from SRI International.
 *
 * DISCLAIMER OF WARRANTIES
 *
 * SRI International MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
 * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
 * LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SRI International SHALL NOT BE
 * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
 * OR DISTRIBUTING THIS SOFTWARE
 **************************************************************************/
package com.sri.sedc.javanetbridge.io;

import java.io.IOException;

/**
 * DataMarshalOutputStream is used to write data to an output stream.
 */
public interface DataMarshalOutputStream {
    void flush() throws IOException;

    void write(byte data) throws IOException;

    void write(short data) throws IOException;

    void write(int data) throws IOException;

    void write(float data) throws IOException;

    void write(long data) throws IOException;

    void write(double data) throws IOException;

    void write(char data) throws IOException;

    void write(boolean data) throws IOException;

    void write(String data) throws IOException;

    void write(byte[] data) throws IOException;

    void write(short[] data) throws IOException;

    void write(int[] data) throws IOException;

    void write(float[] data) throws IOException;

    void write(long[] data) throws IOException;

    void write(double[] data) throws IOException;

    void write(char[] data) throws IOException;

    void write(boolean[] data) throws IOException;

    void write(String[] data) throws IOException;

    void write(byte[][] data) throws IOException;

    void write(short[][] data) throws IOException;

    void write(int[][] data) throws IOException;

    void write(float[][] data) throws IOException;

    void write(long[][] data) throws IOException;

    void write(double[][] data) throws IOException;

    void write(char[][] data) throws IOException;

    void write(boolean[][] data) throws IOException;

    void write(String[][] data) throws IOException;
}

⌨️ 快捷键说明

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