Struct AlgoApiObject
A non-deserialized object from an algorand service.
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
Properties
IsJson
if this is a json object.
Declaration
public bool IsJson { get; }
Property Value
IsMessagePack
if this is a messagepack object.
Declaration
public bool IsMessagePack { get; }
Property Value
Json
Raw json if the response had Json encoded as UTF8.
Declaration
public byte[] Json { get; }
Property Value
MessagePack
Declaration
public byte[] MessagePack { get; }
Property Value
Methods
Equals(AlgoApiObject)
Declaration
public bool Equals(AlgoApiObject other)
Parameters
Returns
Operators
Implicit(NativeArray<Byte> to AlgoApiObject)
Declaration
public static implicit operator AlgoApiObject(NativeArray<byte> msgpack)
Parameters
Type |
Name |
Description |
NativeArray<Byte> |
msgpack |
|
Returns
Implicit(NativeList<Byte> to AlgoApiObject)
Declaration
public static implicit operator AlgoApiObject(NativeList<byte> msgpack)
Parameters
Type |
Name |
Description |
NativeList<Byte> |
msgpack |
|
Returns
Implicit(NativeText to AlgoApiObject)
Declaration
public static implicit operator AlgoApiObject(NativeText json)
Parameters
Type |
Name |
Description |
NativeText |
json |
|
Returns
Implicit(Byte[] to AlgoApiObject)
Declaration
public static implicit operator AlgoApiObject(byte[] msgpack)
Parameters
Type |
Name |
Description |
Byte[] |
msgpack |
|
Returns
Implicit(String to AlgoApiObject)
Declaration
public static implicit operator AlgoApiObject(string json)
Parameters
Type |
Name |
Description |
String |
json |
|
Returns