Skip to content

JFileIo 0.8.2

Compare
Choose a tag to compare
@TeamworkGuy2 TeamworkGuy2 released this 30 Mar 16:39
· 2 commits to master since this release

Changed

  • Rewrite FileReadUtil:
    • Less array allocations
    • Text decoding methods from InputStream -> char[] or String with optimized direct CharsetDecoder.decode() calls
    • More helper methods for File, InputStream, and overloads with default chunkSize and charsetDecoder overrides
    • Static default ChunkSize and charsetDecoder fields with setters to allow the threadLocalInst() constructor defaults to be set
    • Bug fixes and better unit testing with LimitedByteArrayInputStream to replicate input stream read() calls that only return partial and require subseqent calls