DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


sample_code:random_file_acces

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sample_code:random_file_acces [2015/07/08 09:18]
octazid created
sample_code:random_file_acces [2018/02/22 11:58] (current)
46.17.167.27
Line 49: Line 49:
  //​ "​Chars"​ => Writes big-endian 16-bit characters.  //​ "​Chars"​ => Writes big-endian 16-bit characters.
  //​ "​UTF"​ => Writes text encoded with UTF-8.  //​ "​UTF"​ => Writes text encoded with UTF-8.
- public void WriteText( String data, String type ) throws Exception+ public void WriteText( String data, String type ) 
   
  //Read text from file.  //Read text from file.
Line 55: Line 55:
  //​ "​Line"​ => reads a whole text line terminated by '​\n',​ '​\r',​ "​\r\n"​  //​ "​Line"​ => reads a whole text line terminated by '​\n',​ '​\r',​ "​\r\n"​
  //​ "​Char"​ => reads a big-endian 16-bit character  //​ "​Char"​ => reads a big-endian 16-bit character
 + public String ReadText( String type ) 
  
  //Write binary data to file.  //Write binary data to file.
sample_code/random_file_acces.txt ยท Last modified: 2018/02/22 11:58 by 46.17.167.27