!interfaces.avt

Переключить прокрутку окна
Загрузить этот исходный код

/*
    Реализация среды исполнения языка программирования
    Объектно-ориентированный продвинутый векторный транслятор

    Copyright © 2021, 2024 Малик Разработчик

    Это свободная программа: вы можете перераспространять ее и/или изменять
    ее на условиях Меньшей Стандартной общественной лицензии GNU в том виде,
    в каком она была опубликована Фондом свободного программного обеспечения;
    либо версии 3 лицензии, либо (по вашему выбору) любой более поздней версии.

    Эта программа распространяется в надежде, что она будет полезной,
    но БЕЗО ВСЯКИХ ГАРАНТИЙ; даже без неявной гарантии ТОВАРНОГО ВИДА
    или ПРИГОДНОСТИ ДЛЯ ОПРЕДЕЛЕННЫХ ЦЕЛЕЙ. Подробнее см. в Меньшей Стандартной
    общественной лицензии GNU.

    Вы должны были получить копию Меньшей Стандартной общественной лицензии GNU
    вместе с этой программой. Если это не так, см.
    <https://www.gnu.org/licenses/>.
*/

package avt.io;

public interface DataInput(Object)
{
    public void readFully(byte[] dst) throws IOException;

    public void readFully(byte[] dst, int offset, int length) throws IOException;

    public boolean readBoolean() throws IOException;

    public char readChar() throws IOException;

    public int readUnsignedByte() throws IOException;

    public int readUnsignedShort() throws IOException;

    public int readByte() throws IOException;

    public int readShort() throws IOException;

    public int readInt() throws IOException;

    public int2 readUnsignedByte2() throws IOException;

    public int2 readUnsignedShort2() throws IOException;

    public int2 readByte2() throws IOException;

    public int2 readShort2() throws IOException;

    public int2 readInt2() throws IOException;

    public int4 readUnsignedByte4() throws IOException;

    public int4 readUnsignedShort4() throws IOException;

    public int4 readByte4() throws IOException;

    public int4 readShort4() throws IOException;

    public int4 readInt4() throws IOException;

    public int8 readUnsignedByte8() throws IOException;

    public int8 readUnsignedShort8() throws IOException;

    public int8 readByte8() throws IOException;

    public int8 readShort8() throws IOException;

    public int8 readInt8() throws IOException;

    public long readLong() throws IOException;

    public long2 readLong2() throws IOException;

    public long4 readLong4() throws IOException;

    public long8 readLong8() throws IOException;

    public float readFloat() throws IOException;

    public float2 readFloat2() throws IOException;

    public float4 readFloat4() throws IOException;

    public float8 readFloat8() throws IOException;

    public double readDouble() throws IOException;

    public double2 readDouble2() throws IOException;

    public double4 readDouble4() throws IOException;

    public double8 readDouble8() throws IOException;

    public real readReal() throws IOException;

    public String readUTF() throws IOException;

    public String readln() throws IOException;

    public String read() throws IOException;
}

public interface DataOutput(Object)
{
    public void write(byte[] src) throws IOException;

    public void write(byte[] src, int offset, int length) throws IOException;

    public void writeBoolean(boolean data) throws IOException;

    public void writeChar(char data) throws IOException;

    public void writeByte(int data) throws IOException;

    public void writeShort(int data) throws IOException;

    public void writeInt(int data) throws IOException;

    public void writeByte2(int2 data) throws IOException;

    public void writeShort2(int2 data) throws IOException;

    public void writeInt2(int2 data) throws IOException;

    public void writeByte4(int4 data) throws IOException;

    public void writeShort4(int4 data) throws IOException;

    public void writeInt4(int4 data) throws IOException;

    public void writeByte8(int8 data) throws IOException;

    public void writeShort8(int8 data) throws IOException;

    public void writeInt8(int8 data) throws IOException;

    public void writeLong(long data) throws IOException;

    public void writeLong2(long2 data) throws IOException;

    public void writeLong4(long4 data) throws IOException;

    public void writeLong8(long8 data) throws IOException;

    public void writeFloat(float data) throws IOException;

    public void writeFloat2(float2 data) throws IOException;

    public void writeFloat4(float4 data) throws IOException;

    public void writeFloat8(float8 data) throws IOException;

    public void writeDouble(double data) throws IOException;

    public void writeDouble2(double2 data) throws IOException;

    public void writeDouble4(double4 data) throws IOException;

    public void writeDouble8(double8 data) throws IOException;

    public void writeReal(real data) throws IOException;

    public void writeUTF(String data) throws IOException;

    public void writeln(String data) throws IOException;

    public void write(String data) throws IOException;
}

public interface Extension(Object)
{
}