public TextPointerProxy(Page page, byte[] bytes)
            : base(page)
        {
            this.bytes = bytes;

            /* 16 byte LOB Textpointer:
             *
             * Bytes	Content
             * 0-3		Timestamp (int)
             * 4-7		?
             * 8-16		Slot pointer
             */

            timestamp   = BitConverter.ToInt32(bytes, 0);
            lobRootSlot = new SlotPointer(bytes.Skip(8).ToArray());
        }
Ejemplo n.º 2
0
        public TextPointerProxy(Page page, byte[] bytes)
            : base(page)
        {
            this.bytes = bytes;

            /* 16 byte LOB Textpointer:
             *
             * Bytes	Content
             * 0-3		Timestamp (int)
             * 4-7		?
             * 8-16		Slot pointer
            */

            timestamp = BitConverter.ToInt32(bytes, 0);
            lobRootSlot = new SlotPointer(bytes.Skip(8).ToArray());
        }