Replacing WriteShort

What is the replacement for the removed calls binarystream.readshort and binarystream.writeshort?
I tried readsingle, but it didn’t read the data the same.

ReadInt16, WriteInt16.

Thanks, Paul