Beispiel #1
0
        /// <summary>
        /// Deserializes the specified data to T object.
        /// </summary>
        public Guid Deserialize(byte[] data, int offset, int length)
        {
            if (length != 16)
            {
                throw new ArgumentException("Invalid Guid buffer length: " + length);
            }

            return(BufferHelper.ReadGuid(data, offset));
        }