io
-
BufferedInputStream
Read file with BufferedInputStream
With this example we are going to demonstrate how to read a file with a BufferedInputStream. In short, to read…
Read More » -
io
Externalize arbitrary objects
public static byte[][] serializeObject(Externalizable object) throws Exception { ByteArrayOutputStream baos = null; ObjectOutputStream oos = null; byte[][] res = new…
Read More » -
io
Serialize arbitrary objects
public static byte[] serializeObject(Serializable object) throws Exception { ByteArrayOutputStream baos = null; ObjectOutputStream oos = null; byte[] res = null;…
Read More »