Returns the following byte of the file content with id identifier or -1 if it is the end of file. The byte is returned as a whole value between 0 to 255.
 

1 file.in.readByte

<file.in.readByte>
    <id /> !
</file.in.readByte>
Example
Copy
<xsql-script name='file_in_readByte_sample1'>
    <body>
        <set name='my_file'>
            <string>my_file.txt</string>
        </set>
	<file.bytes.write>
            <file name='#my_file'/>
            <string.getBytes>b</string.getBytes>
        </file.bytes.write>
        
        <set name = 'm_file'>
	    <file name='my_file.txt'/>
	</set>
        <set name = 'is1'>
	    <file.in.open id='in1'>
	        <m_file/>
	    </file.in.open>
	</set>
        <println><file.in.readByte id='in1' /></println>
            
	<file.in.close id='in1'>
	</file.in.close>
    </body>
</xsql-script>