code: func (db *DB) GetBit(key []byte, offset int) (int64, error) {
  	if err := checkKeySize(key); err != nil {
  		return 0, err
  	}
  
  	key = db.encodeKVKey(key)
  
  	value, err := db.bucket.Get(key)
  	if err != nil {
  		return 0, err
  	}
  
  	byteOffset := uint32(offset) >> 3
  	bit := 7 - uint8(uint32(offset)&0x7)
  
  	if byteOffset >= uint32(len(value)) {
  		return 0, nil
  	}
  
  	bitVal := value[byteOffset] & (1 << bit)
  	if bitVal > 0 {
  		return 1, nil
  	}
  
  	return 0, nil
  }
docs: // GetBit gets the bit of data at offset.