跳到主要内容
版本:dev

Native Serialization

Native serialization uses a binding-specific wire format and the owning runtime's native type system. It is not one shared cross-language protocol.

When to use native mode

Use native mode for same-runtime traffic that needs language-specific object shapes, migration from a host serializer, or a smaller/faster format without xlang type-mapping constraints. Use xlang mode whenever a different runtime must read the bytes.

Supported runtime families

Each runtime page owns its exact object model, schema rules, configuration, extension APIs, and diagnostics. Native payloads from different runtime families are not interchangeable.