예제 #1
0
        public void FromBytes(WspBuffer buffer)
        {
            _cBookmarks = buffer.ToStruct <uint>();
            _aBookmarks = new uint[_cBookmarks];
            for (int i = 0; i < _cBookmarks; i++)
            {
                _aBookmarks[i] = buffer.ToStruct <uint>();
            }

            _maxRet = buffer.ToStruct <uint>();
            _ascRet = new uint[_maxRet];
            for (int i = 0; i < _maxRet; i++)
            {
                _ascRet[i] = buffer.ToStruct <uint>();
            }
        }
 public void FromBytes(WspBuffer buffer)
 {
     _ulNumerator   = buffer.ToStruct <uint>();
     _ulDenominator = buffer.ToStruct <uint>();
     _hRegion       = buffer.ToStruct <uint>();
 }
예제 #3
0
 public void FromBytes(WspBuffer buffer)
 {
     this = buffer.ToStruct <WspMessageHeader>();
 }
 public void FromBytes(WspBuffer buffer)
 {
     _cskip = buffer.ToStruct <uint>();
 }
 public void FromBytes(WspBuffer buffer)
 {
     _bmkOffset = buffer.ToStruct <uint>();
     _cskip     = buffer.ToStruct <uint>();
     _hRegion   = buffer.ToStruct <uint>();
 }