Skip to content

Releases: patrickfav/bytes-java

v0.7.0

11 Aug 11:06
Compare
Choose a tag to compare

Changes

  • add count method for counting byte arrays (like pattern matching)
  • add dedicated md5 and sha1 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() and endsWidth() 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

01 Aug 09:48
v0.6.0
0be03bd
Compare
Choose a tag to compare

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 to toBoxedArray()

v0.5.0

13 Jul 10:24
v0.5.0
fb219c0
Compare
Choose a tag to compare

Changes

  • better resource handling for compression
  • add nullSafe from() constructor
  • rename toObjectArray() to toBoxedArray() (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 using and() internally #2 (thx @jbaiter and @ioreskovic)
  • remove debugging println in Bytes.encode()

v0.4.6

06 Jan 09:02
Compare
Choose a tag to compare
  • add appending with strings
  • add boolean, float, double and char array constructor
  • try to fix radix encoder missing prefixing 0 byte

v0.4.5

22 Nov 14:54
296de11
Compare
Choose a tag to compare
  • add nullSafe wrapper
  • fix accepting illegal hex string when parsing

v0.4.4

17 Nov 20:03
Compare
Choose a tag to compare
  • 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

11 Nov 15:41
Compare
Choose a tag to compare
  • add toFloat/toDouble
  • add resize mode (from 0 or length)
  • fix bitAt bug
  • add in place byte array shift feature

v0.4.2

06 Nov 08:20
Compare
Choose a tag to compare
  • add check method if transformer supports inplace
  • add contains method
  • add Iterable interface
  • add setByteAt
  • add construction from DataInput

v0.4.1

05 Nov 21:21
634b64b
Compare
Choose a tag to compare
  • add bitAt() utility
  • add hash feature
  • add checksum transformer
  • add gzip transformer

v0.4.0

04 Nov 15:17
Compare
Choose a tag to compare
  • logical expressions in validators
  • more validators