Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.

dajudge/serializable-input-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serializable InputStream

This is an implementation of an InputStream that can be serialized using Java's standard serialization mechanism.

By default it uses the main memory to temporarily store the data during deserialization in order to serve it as input stream again.

This behavior however is configurable and other serialization temp stores can be integrated easily, a file-based temp store using the user's temp directory is provided as well.

TODO:

  • Don't allocate the whole chunk size on deserialization, this is a potential OutOfMemory
  • Allow to limit the file size during deserialization

About

A Java input stream implementation that can be serialized with Java's serialization mechanism. This is useful for e.g. piping data over RMI calls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages