Skip to content

Commit 5bced81

Browse files
committed
Update Readme
1 parent acab40e commit 5bced81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ as well as **immutable** and **mutable** access, so the caller may decide to fav
77
performance. This can be seen as combination of the features provided by
88
[`BigInteger`](https://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html),
99
[`ByteBuffer`](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) but
10-
providing a lot of additional features (similar to Okio's [ByteString](https://github.com/square/okio)). The main goal is to minimize the need
10+
providing a lot of additional features on the micro and macro level of byte arrays (similar to Okio's [ByteString](https://github.com/square/okio)). The main goal is to minimize the need
1111
to blindly paste code snippets from
1212
[s](https://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-hex-dump-to-a-byte-array-using-java)
1313
[t](https://stackoverflow.com/questions/12893758/how-to-reverse-the-byte-array-in-java)
@@ -71,7 +71,7 @@ int result = b.toInt(); //get as signed int
7171

7272
```java
7373
Bytes b = Bytes.from(array1); //create from copy of array1
74-
b.resize(2).xor(arry2); //shrink to 2 bytes and xor with other array
74+
b.resize(2).xor(array2); //shrink to 2 bytes and xor with other array
7575
byte[] result = b.array(); //get as byte array
7676
```
7777

0 commit comments

Comments
 (0)