+// clear ALL of BigBuf
+void BigBuf_Clear_ext(bool verbose)
+{
+ memset(BigBuf, 0, BIGBUF_SIZE);
+ if (verbose)
+ Dbprintf("Buffer cleared (%i bytes)", BIGBUF_SIZE);
+}
+
+
+void BigBuf_Clear_EM(void){
+ memset(BigBuf_get_EM_addr(), 0, CARD_MEMORY_SIZE);
+}
+
+
+void BigBuf_Clear_keep_EM(void)
+{
+ memset(BigBuf, 0, BigBuf_hi);
+}
+