EosioInt64
public enum EosioInt64 : Codable
Meta type that can hold a 64 bit signed value that can come from the server as a Int64 or a String.
-
Value as a
Int64.Declaration
Swift
case int64(Int64) -
Value as a
String.Declaration
Swift
case string(String) -
Declaration
Swift
public var value: Int64 { get } -
Initialize from a decoder, attempting to decode as a
Int64first. If that is unsuccessful, attempt to decode asString.Throws
DecodingError if the value cannot be decoded asInt64orString.Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderDecoder to read from.
-
Encode to an encoder, attempting to encode as a
Int64first. If that is unsuccessful, attempt to encode asString.Throws
EncodingError if the value cannot be encoded asInt64orString.Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderEncoder to encode to.
View on GitHub
EosioInt64 Enumeration Reference