src/main/java/com/appslandia/common/base/MemoryStream.java
private void writeObject(ObjectOutputStream out) throws IOException {
		out.writeInt(this.blockSize);
		out.writeLong(this.count);
		out.writeInt(this.lastLen);
		out.writeInt(getNodeCount());

		Node n = this.nodeList.first;
		while (n != null) {
			out.writeObject(n.buf);
			n = n.next;
		}
	}
private void writeObject(ObjectOutputStream out) throws IOException {
		out.writeInt(this.blockSize);
		out.writeLong(this.count);
		out.writeInt(this.lastLen);
		out.writeInt(getNodeCount());

		Node n = this.nodeList.first;
		while (n != null) {
			out.writeObject(n.buf);
			n = n.next;
		}
	}
Implements Serializable