Skip to content

Commit 09c00a6

Browse files
authored
Merge pull request #43 from michielj-webiq/patch-1
use buffer instead of byteBuffer in README
2 parents 8a74c6b + 000e37c commit 09c00a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ Conversion to [`InputStream`](https://docs.oracle.com/javase/7/docs/api/java/io/
498498

499499
```java
500500
Bytes.wrap(array).inputStream();
501-
Bytes.wrap(array).byteBuffer();
501+
Bytes.wrap(array).buffer();
502502
```
503503

504504
If you just want a duplicated instance, sharing the same array:

0 commit comments

Comments
 (0)