Ejemplo n.º 1
0
 public static IIonReader Build(byte[] data, ReaderOptions options = default)
 {
     return(Build(new MemoryStream(data), options));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Build a text reader for the string with a catalog.
 /// </summary>
 /// <param name="text">Ion text</param>
 /// <param name="options">Reader options.</param>
 /// <returns>Ion text reader</returns>
 public static IIonReader Build(string text, ReaderOptions options = default)
 {
     return(new UserTextReader(text, options.Catalog));
 }