Search Results for

    Show / Hide Table of Contents

    Struct AlgoApiObject

    A non-deserialized object from an algorand service.

    Namespace: Algorand.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    [AlgoApiFormatter(typeof(AlgoApiObjectFormatter), "", "", 0)]
    public struct AlgoApiObject : IEquatable<AlgoApiObject>

    Constructors

    AlgoApiObject(Byte[], ContentType)

    Declaration
    public AlgoApiObject(byte[] data, ContentType contentType)
    Parameters
    Type Name Description
    Byte[] data
    ContentType contentType

    Properties

    IsJson

    if this is a json object.

    Declaration
    public bool IsJson { get; }
    Property Value
    Type Description
    Boolean

    IsMessagePack

    if this is a messagepack object.

    Declaration
    public bool IsMessagePack { get; }
    Property Value
    Type Description
    Boolean

    Json

    Raw json if the response had Json encoded as UTF8.

    Declaration
    public byte[] Json { get; }
    Property Value
    Type Description
    Byte[]

    MessagePack

    Raw message pack if the response had MessagePack

    Declaration
    public byte[] MessagePack { get; }
    Property Value
    Type Description
    Byte[]

    Methods

    Equals(AlgoApiObject)

    Declaration
    public bool Equals(AlgoApiObject other)
    Parameters
    Type Name Description
    AlgoApiObject other
    Returns
    Type Description
    Boolean

    Operators

    Implicit(NativeArray<Byte> to AlgoApiObject)

    Declaration
    public static implicit operator AlgoApiObject(NativeArray<byte> msgpack)
    Parameters
    Type Name Description
    NativeArray<Byte> msgpack
    Returns
    Type Description
    AlgoApiObject

    Implicit(NativeList<Byte> to AlgoApiObject)

    Declaration
    public static implicit operator AlgoApiObject(NativeList<byte> msgpack)
    Parameters
    Type Name Description
    NativeList<Byte> msgpack
    Returns
    Type Description
    AlgoApiObject

    Implicit(NativeText to AlgoApiObject)

    Declaration
    public static implicit operator AlgoApiObject(NativeText json)
    Parameters
    Type Name Description
    NativeText json
    Returns
    Type Description
    AlgoApiObject

    Implicit(Byte[] to AlgoApiObject)

    Declaration
    public static implicit operator AlgoApiObject(byte[] msgpack)
    Parameters
    Type Name Description
    Byte[] msgpack
    Returns
    Type Description
    AlgoApiObject

    Implicit(String to AlgoApiObject)

    Declaration
    public static implicit operator AlgoApiObject(string json)
    Parameters
    Type Name Description
    String json
    Returns
    Type Description
    AlgoApiObject
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾