Added throw ReadFailed for homoendian().