@aster-rpc/aster API Reference
    Preparing search index...

    Variable SerializationModeConst

    SerializationMode: { XLANG: 0; NATIVE: 1; ROW: 2; JSON: 3 } = ...

    Serialization mode for Fory codec.

    Type Declaration

    • ReadonlyXLANG: 0

      Cross-language (Fory XLANG). Default and recommended.

    • ReadonlyNATIVE: 1

      Language-native. Only for LocalTransport (same trust domain).

    • ReadonlyROW: 2

      Row-oriented. For random-access reads.

    • ReadonlyJSON: 3

      JSON over UTF-8. Cross-language fallback. The TypeScript binding uses this exclusively because Fory JS is not yet XLANG-compliant.