I extended PersistStream and DeserializeStream for my project, overridden the alloc() method to create streams like ObjectOutputStream and ObjectInputStream. The alloc() method can, if necessary, assign a new array to the DataStream.array variable. Some DataStream methods ignore changes the array variable. This pull request fixes that.
I extended
PersistStream
andDeserializeStream
for my project, overridden thealloc()
method to create streams likeObjectOutputStream
andObjectInputStream
. Thealloc()
method can, if necessary, assign a new array to theDataStream.array
variable. SomeDataStream
methods ignore changes thearray
variable. This pull request fixes that.