Releases: patrickfav/bytes-java
Releases · patrickfav/bytes-java
v0.7.0
Changes
- add
count
method for counting byte arrays (like pattern matching) - add dedicated
md5
andsha1
transformer methods - add
from(Inputstream stream, int maxlength)
limiting stream reading constructor #13 - add indexOf() with
fromIndex
parameter #14 - add support for base64 url safe encoding #15
- use EMPTY constant instance for empty byte array to safe memory #16
- add
startsWith()
andendsWidth()
methods #12 - add cache for calculating the hashCode
- add HMAC byte transformer #11
- add unsigned sort transformer #17
- add
.immutable()
converter in MutableBytes #18
v0.6.0
Changes
- add
encodeCharsetToBytes()
feature #7 - add new
from(char[] charArray, Charset charset)
constructor with improved logic #8 - add constructor/converter from/to UUID #9
- add
empty()
constructor, creating empty byte array
Deprecations (will be removed in v1.0+)
toObjectArray()
renamed totoBoxedArray()
v0.5.0
Changes
- better resource handling for compression
- add nullSafe from() constructor
- rename
toObjectArray()
totoBoxedArray()
(will be removed in 1.0) - add
appendNullSafe
and append string with encoding - add experimental ProGuard optimized version (can be used with classifier 'optimized') #19
- add constant time
equals()
- fix
or()
operator usingand()
internally #2 (thx @jbaiter and @ioreskovic) - remove debugging
println
inBytes.encode()
v0.4.6
- add appending with strings
- add boolean, float, double and char array constructor
- try to fix radix encoder missing prefixing 0 byte
v0.4.5
- add nullSafe wrapper
- fix accepting illegal hex string when parsing
v0.4.4
- add feature for gathering parts of the array as primitives (e.g. intAt(int position))
- add to unsigned byte conversations
- add overloaded equals
v0.4.3
- add toFloat/toDouble
- add resize mode (from 0 or length)
- fix bitAt bug
- add in place byte array shift feature
v0.4.2
- add check method if transformer supports inplace
- add contains method
- add Iterable interface
- add setByteAt
- add construction from DataInput
v0.4.1
- add bitAt() utility
- add hash feature
- add checksum transformer
- add gzip transformer
v0.4.0
- logical expressions in validators
- more validators