v2.0.1
ulid
辞書順に並べ替え可能な128ビットの識別子(UUID)で、48ビットのタイムスタンプと80ビットのランダムビットを含む。UUIDの36文字とは異なり、標準的に26文字の文字列としてエンコードされる。
55いいね 2.1万30日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
DartにおけるUlidの実装
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Lexicographically sortable, 128-bit identifier (UUID) with 48-bit timestamp and 80 random bits. Canonically encoded as a 26 character string, as opposed to the 36 character UUID.
Original implementation: https://github.com/alizain/ulid/
Specification: https://github.com/ulid/spec
A simple usage example:
import 'package:ulid/ulid.dart';
void main() {
print(Ulid());
print(Ulid().toUuid());
print(Ulid().toCanonical());
print(Ulid().toBase32()); // uppercase, spec-aligned format
}