feat(input): readObject [byte -> Buffer

[1,2,3] cannot correctly judge the Buffer or int array
withType = true should convert to buffer too.