Skip to content

LevelFourAB/ylem-ids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ylem-ids

The ylem-ids project contains code for working with identifiers, such as generating them via LongIdGenerator and encoding/decoding them using LongIdCodec.

Example

// Generate identifiers
LongIdGenerator ids = new SimpleLongIdGenerator();
long id = ids.next();

// Encoding and decoding
LongIdCodec<String> codec = new Base62LongIdCodec();
String encoded = codec.encode(id);
long decoded = codec.decode(encoded);

License

This project is licensed under the MIT license, see the file LICENSE.md for details.

About

Generate, encode and decode identifiers

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages