pub fn encode_smallmoney( value: Decimal, buf: &mut BytesMut, ) -> Result<(), TypeError>
Encode a decimal as SMALLMONEY (4 bytes): the signed 32-bit scaled integer is written little-endian.