diff --git a/README.md b/README.md index 6c4f24e..c9df296 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ![Logo](https://raw.githubusercontent.com/RobThree/IdGen/master/IdGenDocumentation/icons/Help.png) IdGen +# ![Logo](https://raw.githubusercontent.com/RobThree/IdGen/master/logo.png) IdGen ![Build Status](https://img.shields.io/github/actions/workflow/status/RobThree/IdGen/test.yml?branch=master&style=flat-square) [![Nuget version](https://img.shields.io/nuget/v/IdGen.svg?style=flat-square)](https://www.nuget.org/packages/IdGen/) @@ -18,7 +18,7 @@ IdGen generates, like Snowflake, 64 bit Id's. The [Sign Bit](https://en.wikipedi An Id generated with a **Default** `IdStructure` is structured as follows: -![Id structure](https://raw.githubusercontent.com/RobThree/IdGen/master/IdGenDocumentation/Media/structure.png) +![Id structure](https://raw.githubusercontent.com/RobThree/IdGen/master/structure.png) However, using the `IdStructure` class you can tune the structure of the created Id's to your own needs; you can use 45 bits for the timestamp, 2 bits for the generator-id and 16 bits for the sequence if you prefer. As long as all 3 parts (timestamp, generator and sequence) add up to 63 bits you're good to go! diff --git a/logo.png b/logo.png index 65af9b2..901e120 100644 Binary files a/logo.png and b/logo.png differ diff --git a/structure.png b/structure.png new file mode 100644 index 0000000..da3e585 Binary files /dev/null and b/structure.png differ