METHOD FOR PERFORMING I/O OPERATION ON INFORMATION PROCESSOR, COMPUTER-READABLE MEDIUM CONTAINING PROGRAM INSTRUCTION FOR SAME, AND INFORMATION PROCESSING SYSTEM FOR PERFORMING I/O

    公开(公告)号:JP2000215146A

    公开(公告)日:2000-08-04

    申请号:JP34333199

    申请日:1999-12-02

    Applicant: IBM

    Abstract: PROBLEM TO BE SOLVED: To obtain an I/O class interface that both a Java application and a Java applet can use by writing data whose length is unknown to a buffer, deciding the length of the data, and passing the data and the decided length from a program. SOLUTION: The information processor 200 executes at least one instruction from an interpreter base program on an interpreter machine. An array is defined in a RAM 217 and a byte counter is reset to 0. A conditional function conducts a test for deciding whether or not there is a byte to be written. When there is a byte to be written, the size of the byte array is increased by one and the byte is written to the byte array. Then the byte counter is increased by one and this process is repeated until no byte to be written is left. After the process ends, the number of bytes written to the byte array is read and used to set the length of an output stream.

Patent Agency Ranking