Exemplo n.º 1
0
        public override void FromBinary(byte[] value)
        {
            if (value.Length > Pointer.Length)
            {
                throw new IndexOutOfRangeException();
            }

            byte[] val = new byte[Pointer.Length];
            Array.Copy(value, val, value.Length);

            this.value = FastBitConverter.ToInt16(val, 0);
        }