Esempio n. 1
0
 /// <summary>
 /// Returns a <see cref="String"/> that represents this <see cref="Opaque"/>.
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(ByteTool.Convert(_raw));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets that raw bytes.
 /// </summary>
 /// <returns></returns>
 private byte[] GetRaw()
 {
     return(_raw ?? (_raw = ByteTool.GetRawBytes(BitConverter.GetBytes(_count), false)));
 }