view test/in.k @ 1:68307ce6839d

add some files
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Mon, 14 May 2012 13:22:21 +0900
parents
children
line wrap: on
line source

using konoha.io.*;

void main(String[] args)
{
	InputStream in = new InputStream("text.txt");
	Bytes buf;
	int length = 10;
	in.readFile();
	in.read(buf,length);
	print buf;
	print in.readLine();


}