GUID 中有多少个字符? [英] How many characters are there in a GUID?
问题描述
使用 ASCII 编码,一个 GUID 中有多少个字符?
Using ASCII encoding, how many characters are there in a GUID?
我对 Microsoft 风格感兴趣,其中包括大括号和破折号.
I'm interested in the Microsoft style, which includes the curly brackets and dashes.
推荐答案
来自 MSDN:
GUID 是一个 128 位的值,由一组 8 个十六进制数字,其次是三组 4每个十六进制数字,后跟一组 12 个十六进制数字.以下示例 GUID 显示了十六进制数字的分组用户名:6B29FC40-CA47-1067-B31D-00DD010662DA
A GUID is a 128-bit value consisting of one group of 8 hexadecimal digits, followed by three groups of 4 hexadecimal digits each, followed by one group of 12 hexadecimal digits. The following example GUID shows the groupings of hexadecimal digits in a GUID: 6B29FC40-CA47-1067-B31D-00DD010662DA
来自维基百科:
通常添加大括号来包围以上格式,例如:
Often braces are added to enclose the above format, as such:
{3F2504E0-4F89-11D3-9A0C-0305E82C3301}
所以在带花括号的典型十六进制编码中总共有 38 个字符.
So a total of 38 characters in the typical hexadecimal encoding with curly braces.
-亚当
这篇关于GUID 中有多少个字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!