docs.unity3d.com
    Show / Hide Table of Contents

    Namespace Unity.Serialization.Binary

    Classes

    BinarySerialization

    High level API for serializing or deserializing json data from string, file or stream.

    BinarySerializationState

    This class is used to store state between multiple serialization calls. By passing this to BinarySerializationParameters will allow visitors and serialized references to be re-used.

    Structs

    BinaryDeserializationContext<TValue>

    The BinaryDeserializationContext<TValue> is available from adapters. It provides access to the current adapter enumerator and allows for control of deserialization for a given type.

    BinarySerializationContext<TValue>

    The BinarySerializationContext<TValue> is available from adapters. It provides access to the current adapter enumerator and allows for control of serialization for a given type.

    BinarySerializationParameters

    Custom parameters to use for binary serialization or deserialization.

    Interfaces

    IBinaryAdapter

    Base interface for binary adapters.

    IBinaryAdapter<TValue>

    Implement this interface to override serialization and deserialization behaviour for a given type.

    IBinaryDeserializationContext

    The IBinaryDeserializationContext provides an untyped context for contravariant serialization adapters.

    IBinarySerializationContext

    The IBinarySerializationContext provides an untyped context for contravariant serialization adapters.

    IContravariantBinaryAdapter<TValue>

    Implement this interface to override serialization and deserialization behaviour for a given type.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023