code: public void getrange(byte[] key, long startOffset, long endOffset) {
          sendCommand(Command.GETRANGE, key, RedisProtocol.toByteArray(startOffset), RedisProtocol.toByteArray(endOffset));
      }
docs: Gets the range.
  
  @param key         the key
  @param startOffset the start offset
  @param endOffset   the end offset