expected <- "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"    
test(id=0, code={    
argv <- structure(list(from = as.raw(c(0xfd, 0x37, 0x7a, 0x58, 0x5a,     
0x00, 0x00, 0x01, 0x69, 0x22, 0xde, 0x36, 0x02, 0x00, 0x21, 0x01,     
0x1c, 0x00, 0x00, 0x00, 0x10, 0xcf, 0x58, 0xcc, 0xe0, 0x07, 0xcf,     
0x00, 0x1c, 0x5d, 0x00, 0x18, 0x8c, 0x82, 0xb6, 0xc4, 0x11, 0x34,     
0x5c, 0x4e, 0xe1, 0xdd, 0x73, 0xb3, 0x3f, 0x62, 0x14, 0x77, 0xb7,     
0x5a, 0x65, 0x2b, 0x05, 0x70, 0xb3, 0x4b, 0x45, 0xde, 0x00, 0x00,     
0x9b, 0x88, 0xb9, 0x10, 0x00, 0x01, 0x34, 0xd0, 0x0f, 0x00, 0x00,     
0x00, 0x69, 0xfe, 0x28, 0x8d, 0x3e, 0x30, 0x0d, 0x8b, 0x02, 0x00,     
0x00, 0x00, 0x00, 0x01, 0x59, 0x5a)), type = "xz", asChar = TRUE), .Names = c("from",     
"type", "asChar"))    
do.call('memDecompress', argv);    
},  o = expected);    
    
