Click here to Skip to main content
15,908,254 members

Comments by EADever (Top 44 by date)

EADever 20-Jul-17 8:47am View    
public static void main(String[] args) throws IOException {
FileInputStream fis = new FileInputStream(new File("c:\\arena_l_lobby_land_map.h32"));
int iByteCount = fis.read();
if (iByteCount == -1)
System.out.println("stream not empty");
else
System.out.println("stream is empty");
}

this is correct?
EADever 20-Jul-17 8:42am View    
Can you give a sample code to read contents and look to non-zero bytes?
EADever 21-Dec-16 5:53am View    
can you give me an example?
EADever 16-Dec-16 20:50pm View    
Can you give me an example?
EADever 14-Dec-16 23:28pm View    
Wow... this is fully guide, and this is what im looking for. Thanks you for your sugguestion