odnoklassniki / one-nio

Unconventional I/O library for Java
Apache License 2.0
655 stars 97 forks source link

Ability to properly extend DataStream #71

Closed MacX19 closed 4 months ago

MacX19 commented 1 year ago

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.