Example #1
0
 public static Utf8String ToUtf8String(this ReadOnlyBytes?bytes, TextEncoder encoder)
 {
     if (bytes == null)
     {
         return(Utf8String.Empty);
     }
     return(ToUtf8String(bytes.Value, encoder));
 }
Example #2
0
 public static string ToString(this ReadOnlyBytes?bytes, TextEncoder encoder)
 {
     if (bytes == null)
     {
         return("");
     }
     return(ToString(bytes.Value, encoder));
 }
Example #3
0
 public static string ToString(this ReadOnlyBytes?bytes, TextEncoder encoder)
 {
     if (!bytes.HasValue)
     {
         return(string.Empty);
     }
     return(ToString(bytes.Value, encoder));
 }
Example #4
0
 public static Utf8String ToUtf8String(this ReadOnlyBytes?bytes, SymbolTable symbolTable)
 {
     if (bytes == null)
     {
         return(Utf8String.Empty);
     }
     return(ToUtf8String(bytes.Value, symbolTable));
 }
Example #5
0
 public static string ToString(this ReadOnlyBytes?bytes, SymbolTable symbolTable)
 {
     if (bytes == null)
     {
         return("");
     }
     return(ToString(bytes.Value, symbolTable));
 }
Example #6
0
 public static string ToString(this ReadOnlyBytes?bytes, SymbolTable symbolTable)
 {
     if (!bytes.HasValue)
     {
         return(string.Empty);
     }
     return(ToString(bytes.Value, symbolTable));
 }