Title: Converting an ULID string to a 16-byte array and vice-versa · Issue #125 · ulid/javascript · GitHub
Open Graph Title: Converting an ULID string to a 16-byte array and vice-versa · Issue #125 · ulid/javascript
X Title: Converting an ULID string to a 16-byte array and vice-versa · Issue #125 · ulid/javascript
Description: Hello, I would imagine that it is a common use case to store ULIDs as 16-byte BLOBs in relational databases. But I can't see any public methods to convert a 16-byte array to an ULID string and vice-versa. I think that at the very least, ...
Open Graph Description: Hello, I would imagine that it is a common use case to store ULIDs as 16-byte BLOBs in relational databases. But I can't see any public methods to convert a 16-byte array to an ULID string and vice...
X Description: Hello, I would imagine that it is a common use case to store ULIDs as 16-byte BLOBs in relational databases. But I can't see any public methods to convert a 16-byte array to an ULID string and ...
Opengraph URL: https://github.com/ulid/javascript/issues/125
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Converting an ULID string to a 16-byte array and vice-versa","articleBody":"Hello,\n\nI would imagine that it is a common use case to store ULIDs as 16-byte BLOBs in relational databases. But I can't see any public methods to convert a 16-byte array to an ULID string and vice-versa. \n\nI think that at the very least, the crockfordEncode() and crockfordDecode() functions should be made public.\n\nThanks.\n\n","author":{"url":"https://github.com/cstavaru","@type":"Person","name":"cstavaru"},"datePublished":"2025-08-22T22:53:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/125/javascript/issues/125"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b958d20-f19a-5333-ec7a-af908c3cf267 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7F2:116860:1641C8:1E4964:698ED8D1 |
| html-safe-nonce | 8a22d4d65b4b0d8a42acb0fdbed642edd56d5b81fd25681ed9b595169fbdd17c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0YyOjExNjg2MDoxNjQxQzg6MUU0OTY0OjY5OEVEOEQxIiwidmlzaXRvcl9pZCI6IjkyMTk5NjQ0MTE1NzMwOTg3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6129890895044fd90d4e3593637360987420a69b9dc6cb1c83944db7203ade55 |
| hovercard-subject-tag | issue:3347001078 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ulid/javascript/125/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db67fdeca770a6addcef35d616e415e6c584480c0afd143e74636aab3497019a/ulid/javascript/issues/125 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db67fdeca770a6addcef35d616e415e6c584480c0afd143e74636aab3497019a/ulid/javascript/issues/125 |
| og:image:alt | Hello, I would imagine that it is a common use case to store ULIDs as 16-byte BLOBs in relational databases. But I can't see any public methods to convert a 16-byte array to an ULID string and vice... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cstavaru |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/ulid/javascript git https://github.com/ulid/javascript.git |
| octolytics-dimension-user_id | 33265518 |
| octolytics-dimension-user_login | ulid |
| octolytics-dimension-repository_id | 61051155 |
| octolytics-dimension-repository_nwo | ulid/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61051155 |
| octolytics-dimension-repository_network_root_nwo | ulid/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width