GUID中有多少个字符?

编程入门 行业动态 更新时间:2024-10-28 16:16:57
本文介绍了GUID中有多少个字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

使用ASCII编码,GUID中有多少个字符?

Using ASCII encoding, how many characters are there in a GUID?

我对Microsoft风格感兴趣,其中包括大括号和破折号。 p>

I'm interested in the Microsoft style, which includes the curly brackets and dashes.

推荐答案

从 MSDN :

GUID是一个128位值,由一组8个十六进制数字,后面是三组4 十六进制数字,后跟一组12个十六进制数字。 以下示例GUID显示 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.

-Adam

更多推荐

GUID中有多少个字符?

本文发布于:2023-10-20 13:10:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1511063.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中有   多少个   字符   GUID

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!