class RedisCommandResult implements CommandResult {

  @Override
  public int getInt() throws ConnectionException, IOException {
    final RedisStreamReader streamReader = getStreamReader();
    checkMessageType(streamReader, RedisBytes.COLON_BYTE);
    return streamReader.readInt();
  }

  public  RedisCommandResult(final Connection connection);

}