Skip to content

Commit bdc5816

Browse files
committed
Update Readme
refs #9
1 parent cc2317d commit bdc5816

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ to blindly paste code snippets from
3232

3333
It's main features include:
3434

35-
* **Creation** from a wide variety of sources: multiple arrays, integers, [streams](https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html), random, strings, files, ...
35+
* **Creation** from a wide variety of sources: multiple arrays, integers, [streams](https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html), random, strings, files, uuid, ...
3636
* **Transformation** with many built-in: append, [xor](https://en.wikipedia.org/wiki/Exclusive_or), [and](https://en.wikipedia.org/wiki/Logical_conjunction), [hash](https://en.wikipedia.org/wiki/Cryptographic_hash_function), [shifts](https://en.wikipedia.org/wiki/Bitwise_operation#Bit_shifts), shuffle, reverse, [checksum](https://en.wikipedia.org/wiki/Checksum), ...
3737
* **Validators** with the ability to arbitrarily combine multiple ones with logical expressions
3838
* **Parsing and Encoding** in most common binary-to-text-encodings: [hex](https://en.wikipedia.org/wiki/Hexadecimal), [base36](https://en.wikipedia.org/wiki/Base36), [base64](https://en.wikipedia.org/wiki/Base64), ...
@@ -164,6 +164,7 @@ Bytes.from(myBitSet); //java.util.BitSet myBitSet = ...
164164
Bytes.from(bigInteger); //java.math.BigInteger
165165
Bytes.from(file); //reads bytes from any java.io.File
166166
Bytes.from(dataInput, 16); //reads bytes from any java.io.DataInput
167+
Bytes.from(UUID.randomUUID()); //read 16 bytes from UUID
167168
```
168169

169170
For parsing binary-text-encoded strings, see below.

0 commit comments

Comments
 (0)