decimalToNetwork overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

static
unsigned char*
decimalToNetwork(
    unsigned char* buffer,
    Decimal128 decimal);

Store decimal in network format into buffer.

static
unsigned char*
decimalToNetwork(
    unsigned char* buffer,
    Decimal32 decimal);

Same as the overload taking Decimal32.

static
unsigned char*
decimalToNetwork(
    unsigned char* buffer,
    Decimal64 decimal);

Return Value

address one past the last byte written

Parameters

Name

Description

buffer

receives the network encoding

decimal

value to encode

Created with MrDocs