Skip to content

ricaun/StreamJoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamJoin

StreamJoin is used to join two Stream in one.

Some times you need to add some bytes in from of a Stream or File and you need to send this Stream to the internet.

Reference

Include Library

#include <StreamJoin.h>

Method: StreamJoin

Create a StreamJoin with or without two streams.

StreamJoin join;
StreamJoin join(&initial, &final);

Method: begin

Insert the two streams to join.

join.begin(&initial, &final);

Method: dump

Dump all the bytes from the StreamJoin on the Stream.

join.dump(&Serial);

Method: Stream

The available, read, peek methods works as a joined.

int a = join.available();
int r = join.read();
int p = join.peek();

Do you like this library? Please star this project on GitHub!

About

StreamJoin is used to join two Stream in one.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages