docs: function getbit(key, bitoffset, req) {
    var buf = this.getValueBuffer(key, req)
      , byte = bitoffset >> 3
      , bit = 7 - (bitoffset & 0x7)
      , bitval = 0;
    if(buf === undefined) return 0;
    if(byte < buf.length) {
      bitval = buf[byte] & (1 << bit);
    }
    return bitval ? 1 : 0;
  }