Some unknown changes.
Fixed endianness and made comply to the spec.
Fixed endianness and made comply to the spec.