Proper generic read/write/sizeOf functions
Container, array, buffer and count types added