public void fill(BytesRef b, long start) {final int index = (int) (start >> blockBits);final int offset = (int) (start & blockMask);final byte[] block = b.bytes = blocks[index];if ((block[offset] & 128) == 0) {b.length = block[offset];b.offset = offset+1;} else {b.length = ((block[offset] & 0x7f) << 8) | (block[1+offset] & 0xff);b.offset = offset+2;assert b.length > 0;}}
public void Fill(BytesRef b, long start){var index = (int)(start >> blockBits);var offset = (int)(start & blockMask);var block = b.Bytes = blocks[index];if ((block[offset] & 128) == 0){b.Length = block[offset];b.Offset = offset + 1;}else{b.Length = ((block[offset] & 0x7f) << 8) | (block[1 + offset] & 0xff);b.Offset = offset + 2;Debug.Assert(b.Length > 0);}}