public static YAMLNode ExportYAML(this IEnumerable <uint> _this, bool isRaw)
 {
     if (isRaw)
     {
         StringBuilder sb = new StringBuilder();
         foreach (uint value in _this)
         {
             sb.AppendHex(value);
         }
         return(new YAMLScalarNode(sb.ToString()));
     }
     else
     {
         YAMLSequenceNode node = new YAMLSequenceNode(SequenceStyle.Block);
         foreach (uint value in _this)
         {
             node.Add(value);
         }
         return(node);
     }
 }
 public static YAMLNode ExportYAML(this IReadOnlyList <short> _this, bool isRaw)
 {
     if (isRaw)
     {
         StringBuilder sb = new StringBuilder(_this.Count * 4);
         foreach (short value in _this)
         {
             sb.AppendHex(value);
         }
         return(new YAMLScalarNode(sb.ToString()));
     }
     else
     {
         YAMLSequenceNode node = new YAMLSequenceNode(SequenceStyle.Block);
         foreach (short value in _this)
         {
             node.Add(value);
         }
         return(node);
     }
 }
 public static YAMLNode ExportYAML(this IEnumerable <uint> _this, bool isRaw)
 {
     if (isRaw)
     {
         foreach (uint value in _this)
         {
             s_sb.Append(value.ToHexString());
         }
         YAMLScalarNode node = new YAMLScalarNode(s_sb.ToString());
         s_sb.Length = 0;
         return(node);
     }
     else
     {
         YAMLSequenceNode node = new YAMLSequenceNode(SequenceStyle.Block);
         foreach (uint value in _this)
         {
             node.Add(value);
         }
         return(node);
     }
 }