- Changed
ByteVectorto beLongindexed instead ofIntindexed. - Renamed
ByteVector.view(Long => Byte, Long)toByteVector.viewAt.
- Fix correctness bug in
ByteVector.fromBase64when string contained ignored characters.
- Improved performance of CRCs -- 32-bit CRCs improved by 600% and n-bit CRCs improved by 40%.
- Improved performance of
toIntandfromInt,toLongandfromLong, etc. - Further performance improvements in
toBase64. - Improved performance of fromBase64 by over 200x
- Added type-safe === to
BitVectorandByteVector
- Significant performance improvement in
toBase64. - Fixed source links in ScalaDoc.
- Improved performance of creating vectors from hex/bin.
- Added
deflateandinflateto bothBitVectorandByteVector, which compresses the vector with ZLIB. - Added
encryptanddecryptto bothBitVectorandByteVector. - Added
takeWhileanddropWhiletoByteVector. - Added 4-argument overload of
copyToArraytoByteVector. - Added ability to encode/decode stings to/from
BitVectors andByteVectors.
- Added
concatto the companions ofBitVectorandByteVector. - Removed scala-reflect library from transitive dependencies.
- Changed organization (groupId) from
org.typeleveltoorg.scodec.
- Significant performance improvements in
BitVectorSee [#21] for details. - Added
toByte/sliceToByteandtoShort/sliceToShorttoBitVectorandByteVector - Fixed bug in
toInt/toLongon bit vectors with sizes not evenly divisible by 8
- Significant performance improvements in
:+and++forByteVectorandBitVector. See [#16] and [#19] for details.
- Published ScalaDoc links in POM so that other projects can link to ScalaDoc
- Added toInt/toLong/fromInt/fromLong to BitVector and ByteVector
- Changed toString of empty BitVector/ByteVector
- More performant versions of ByteVector#toArray and ByteVector#toByteBuffer
- Added ByteVector#copyToArray and copyToStream
- Added
scodec.bits.crcfor calculating cyclic redundancy checks - Improved performance of
drop - Added
digesttoBitVectorandByteVector - Renamed
padToRighttopadLeftand aliasedpadTotopadRight - Renamed
leftShift/rightShifttoshiftLeft/shiftRight - Added
rotateLeftandrotateRight - Added serialization support for
BitVectorandByteVector
- Added
BitVector#bytesas alias fortoByteVectorandByteVector#bitsas alias fortoBitVector - Improved performance of
sizeLessThanandsizeGreaterThan
- Much more performant implementation of ByteVector by Paul C. that implements various operations in constant/log time
- General performance improvements, including stack safe versions of many methods
- Base 64 encoding/decoding
- Revamped base encoding scheme that allows pluggable alphabets (e.g., uppercase hex, truthy binary, base64 url compat)
- Many new collection like methods (e.g., headOption, init, last, lastOption, nonEmpty, padToRight, startsWith, endsWith, indexOfSlice, containsSlice, splice, patch, populationCount)
- Reduced public API footprint
- API docs
- Changed group id from com.github.scodec to org.typelevel
- Added convenience constructors to
BitVectorandByteVectorfromGenTraversableOnce - Fixed various bugs in SliceByteVector
- Performance improvements
- Initial separation from scodec-core project
- Much more performant implementation of BitVector by Paul C. that implements various operations in constant time
- Lazy implementations of
ByteVectorby Paul C. that allow working performantly with Java IO/NIO