Byte a[2]={85, 15};
Byte b[2]={0};
CFBitVectorRef bv1 = CFBitVectorCreate(kCFAllocatorDefault, a, 16);
CFRange r1 = {3, 8};
CFBitVectorGetBits(bv1, r1, b);
Byte a[2] are "0101 0101 0000 1111", I want to cut the {3,8} (1010 1000) of CFRange into another Byte b[2]. But I got nothing in b[2]. But if I change the range to {0,8} or {8,8}, it works. Why cannot get the bits cross-byte?