Fix typo in function name.

writeUInt16 rather than writeUIn16 obviously.