示例#1
0
 public string EncodeBase64Url() => Base64Url.Encode(_guid.ToByteArray());
示例#2
0
 public Guid DecodeBase64Url() => new Guid(Base64Url.Decode(_guid_b64u));
示例#3
0
 public GuidSerializeBenchmark()
 {
     _guid      = Guid.NewGuid();
     _guid_str  = _guid.ToString();
     _guid_b64u = Base64Url.Encode(_guid.ToByteArray());
 }