| read() | ใช้อ่านค่า ascii ของข้อมูล ณ ตำแหน่งปัจจุบันที่ pointer ชี้อยู่ |
|---|
method:read ();
return type:int
content:ใช้อ่านค่า ascii ของข้อมูล ณ ตำแหน่งปัจจุบันที่ pointer ชี้อยู่
example:String path_file = new String ( "C:/bamboo.txt" ); RandomAccessFile random_access_file = new RandomAccessFile ( path_file, "r" ); int buffer = random_access_file.read ();