private IonReaderBuilder(IonReaderBuilder that) { _catalog = that._catalog; }
/// <summary> /// Load Ion data from a stream. Detecting whether it's binary or Unicode text Ion. /// </summary> /// <param name="stream">Byte stream</param> /// <param name="encoding">Type of text encoding used.</param> /// <returns>An <see cref="IonDatagram"/> tree view.</returns> /// <remarks>This method does not own the stream and the caller is resposible for disposing it.</remarks> public IonDatagram Load(Stream stream, Encoding encoding) { var reader = IonReaderBuilder.Build(stream, encoding, _catalog); return(WriteDatagram(reader)); }
public MutableReaderBuilder(IonReaderBuilder that) { }