#include "utils.h" int IntDivf(float x, float y) { if (y==0) return 0; if ((x/y-(int) (x/y))>0) return (int) (x/y+1); else return (int) x/y; } int IntDiv(int x, int y) { if (x%y==0) return x/y; else return (x/y+1); } void BytetoBits(char *input, char *output, int l) { int posbit, poscar; char c; int i; for (i=0;i