什么是最小的方式来存储一个人类可读的UUID? [英] What is the smallest way to store a UUID that is human readable?

查看:288
本文介绍了什么是最小的方式来存储一个人类可读的UUID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

存储一个人类可读和广泛数据库兼容的UUID的最小方式是什么?



我想用一个使用十六进制值的某种字符数组? / p>

解决方案

作为常见的方法,我认为将二进制数据(16字节)编码为Base64可以是你想要的。 >

What is the smallest way to store a UUID that is human readable and widely database compatible?

I am thinking a char array of some sort using hex values?

解决方案

As common approach, i think that encoding the binary data (16 bytes) as Base64 could be what you want.

这篇关于什么是最小的方式来存储一个人类可读的UUID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆