private IonLoader(ReaderOptions options) { this.readerOptions = options; }
public static IIonReader Build(IIonValue value, ReaderOptions options = default) { return(new UserTreeReader(value, options.Catalog)); }
public static IIonReader Build(byte[] data, ReaderOptions options = default) { return(Build(new MemoryStream(data), options)); }
/// <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)); }