-int askmandemod(uint8_t *BinStream,int *BitLen,int *clk, int *invert);
-uint64_t Em410xDecode(uint8_t *BitStream,int BitLen);
-int manrawdecode(uint8_t *BitStream, int *bitLen);
-int BiphaseRawDecode(uint8_t * BitStream, int *bitLen, int offset);
-int askrawdemod(uint8_t *BinStream, int *bitLen,int *clk, int *invert);
+int askmandemod(uint8_t *BinStream, size_t *size, int *clk, int *invert);
+uint64_t Em410xDecode(uint8_t *BitStream,size_t size);
+int manrawdecode(uint8_t *BitStream, size_t *size);
+int BiphaseRawDecode(uint8_t * BitStream, size_t *size, int offset);
+int askrawdemod(uint8_t *BinStream, size_t *size, int *clk, int *invert);