Skip to content

Commit

Permalink
docs: re-generate README
Browse files Browse the repository at this point in the history
  • Loading branch information
ctavan committed Sep 23, 2019
1 parent eea07e8 commit b9fd85b
Showing 1 changed file with 14 additions and 27 deletions.
41 changes: 14 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,16 @@ Example: In-place generation of two binary IDs
const arr = new Array();
uuidv1(null, arr, 0); //
// [
// 44, 94, 164,
// 192, 64, 103,
// 17, 233, 146,
// 52, 155, 29,
// 235, 77, 59,
// 125
// 44, 94, 164, 192, 64, 103,
// 17, 233, 146, 52, 155, 29,
// 235, 77, 59, 125
// ]
uuidv1(null, arr, 16); //
// [
// 44, 94, 164, 192,
// 64, 103, 17, 233,
// 146, 52, 155, 29,
// 235, 77, 59, 125,
// 44, 94, 164, 193,
// 64, 103, 17, 233,
// 146, 52, 155, 29,
// 235, 77, 59, 125
// 44, 94, 164, 192, 64, 103, 17, 233,
// 146, 52, 155, 29, 235, 77, 59, 125,
// 44, 94, 164, 193, 64, 103, 17, 233,
// 146, 52, 155, 29, 235, 77, 59, 125
// ]

```
Expand Down Expand Up @@ -217,23 +210,17 @@ Example: Generate two IDs in a single buffer
const buffer = new Array();
uuidv4(null, buffer, 0); //
// [
// 155, 29, 235,
// 77, 59, 125,
// 75, 173, 155,
// 221, 43, 13,
// 123, 61, 203,
// 155, 29, 235, 77, 59,
// 125, 75, 173, 155, 221,
// 43, 13, 123, 61, 203,
// 109
// ]
uuidv4(null, buffer, 16); //
// [
// 155, 29, 235, 77,
// 59, 125, 75, 173,
// 155, 221, 43, 13,
// 123, 61, 203, 109,
// 27, 157, 107, 205,
// 187, 253, 75, 45,
// 155, 93, 171, 141,
// 251, 189, 75, 237
// 155, 29, 235, 77, 59, 125, 75, 173,
// 155, 221, 43, 13, 123, 61, 203, 109,
// 27, 157, 107, 205, 187, 253, 75, 45,
// 155, 93, 171, 141, 251, 189, 75, 237
// ]

```
Expand Down

0 comments on commit b9fd85b

Please sign in to comment.