Use u8 instead of char in swap_endian
Add AmfVector<int>