Skip to main content

encode_smallmoney

Function encode_smallmoney 

Source
pub fn encode_smallmoney(
    value: Decimal,
    buf: &mut BytesMut,
) -> Result<(), TypeError>
Expand description

Encode a decimal as SMALLMONEY (4 bytes): the signed 32-bit scaled integer is written little-endian.