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