예제 #1
0
        public void Read(ITreeReader reader)
        {
            reader.ReadObject(this, setters);

            if (_valueEndInPage != null)
            {
                Count = _valueEndInPage.Length;
                _lastNonEmptyIndex = Count - 1;
            }
        }
예제 #2
0
        public void Read(ITreeReader reader)
        {
            reader.ReadObject(this, setters);

            if (IsNull.Count == 0 && Values.Count > 0)
            {
                // Only wrote values means all values are non-null
                IsNull[Values.Count - 1] = false;
                IsNull.SetAll(false);
            }
            else if (IsNull.Count > 0 && Values.Count == 0)
            {
                // Only wrote nulls means all values are null
                Values[IsNull.Count - 1] = ArraySlice <byte> .Empty;
            }
        }
예제 #3
0
        public void Read(ITreeReader reader)
        {
            reader.ReadObject(this, setters);

            if (IsNull != null)
            {
                if (IsNull.Count == 0 && Values.Count > 0)
                {
                    // Only wrote values means all values are non-null
                    IsNull[Values.Count - 1] = false;
                    IsNull.SetAll(false);
                }
                else if (IsNull.Count > 0 && Values.Count == 0)
                {
                    // Only wrote nulls means all values are null
                    Values[IsNull.Count - 1] = default(T);
                }
            }
        }
예제 #4
0
 public void Read(ITreeReader reader)
 {
     // Read Columns, skipping unknown columns if Settings.Strict == false
     reader.ReadObject(this, setters);
 }
예제 #5
0
 public void Read(ITreeReader reader)
 {
     reader.ReadObject(this, setters);
 }
 public void Read(ITreeReader reader)
 {
     reader.ReadObject<SingleContainer<T>>(this, setters);
 }
 public void Read(ITreeReader reader)
 {
     reader.ReadObject(this, setters, throwOnUnknown: false);
 }