static void LoadBlock(LoadState* S, void* b, size_t size) { size_t r=luaZ_read(S->Z,b,size); IF (r!=0, "unexpected end"); }
static void LoadBlock(LoadState* S, void* b, size_t size) { if (luaZ_read(S->Z,b,size)!=0) error(S,"truncated"); }
static void ezread (LoadState* S, void* b, int n) { int r=luaZ_read(S->Z,b,n); if (r!=0) unexpectedEOZ(S); }