也许这个片段会有所帮助。
int i = 42; DataOutputStream os = new DataOutputStream(new FileOutputStream("C:\binout.dat")); os.writeInt(i); os.close();
也许这个片段会有所帮助。
int i = 42; DataOutputStream os = new DataOutputStream(new FileOutputStream("C:\binout.dat")); os.writeInt(i); os.close();