コード例 #1
0
 private IonReaderBuilder(IonReaderBuilder that)
 {
     _catalog = that._catalog;
 }
コード例 #2
0
        /// <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));
        }
コード例 #3
0
 public MutableReaderBuilder(IonReaderBuilder that)
 {
 }