This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Package | |
on: | |
release: | |
types: [published] | |
env: | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
jobs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !defined(BEARSSLMQTTSTATEMACHINE_H) | |
#define BEARSSLMQTTSTATEMACHINE_H | |
#include <bearssl.h> | |
//Almost the same as the 'simple I/O' state machine included in BearSSL, but with the state logic modified to fit the MQTT use case | |
namespace BearSslMqttStateMachine | |
{ | |
/* see bearssl_ssl.h */ | |
void init(br_sslio_context *ctx, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ie.com.handysolutions.android.http; | |
import android.content.Context; | |
import android.os.Handler; | |
import android.os.Looper; | |
import com.android.volley.ExecutorDelivery; | |
import com.android.volley.Network; | |
import com.android.volley.Request; | |
import com.android.volley.RequestQueue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.handysolutions.functional; | |
import java.io.ByteArrayInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.Spliterator; | |
import java.util.stream.Stream; | |
/** | |
* An implementation of an InputStream that takes a Java 8 stream of byte arrays as its input |