stufbit

bit stuffing algorithm implementation !

MIT License

Stars
5

stufbit

bit stuffing algorithm implementation !

Usage

#include <iostream>
using namespace std;
#include "stufbit.h"

int main() {
    // Bit Array - Header + Payload + Trailer
    // Size of Header and Trailer is predefined already, and have taken as a octet here 
    string bitarray = "011111100111111011010101010101010111111001111110";
    BitStuffing bitsuffObj = BitStuffing(bitarray, bitarray.length());
    cout << bitsuffObj.getBitStuff() << endl;
    return 0;
}
Badges
Extracted from project README
forthebadge forthebadge forthebadge