Sha256: c13a6972311964474c56df7524cc2fa9f4adbf309d144d7bc30a03f894dd22c8
Contents?: true
Size: 674 Bytes
Versions: 36
Compression:
Stored size: 674 Bytes
Contents
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union switch (IPAddrType type) # { # case IPv4: # opaque ipv4[4]; # case IPv6: # opaque ipv6[16]; # } # # =========================================================================== module Stellar class PeerAddress class Ip < XDR::Union switch_on IPAddrType, :type switch :i_pv4, :ipv4 switch :i_pv6, :ipv6 attribute :ipv4, XDR::Opaque[4] attribute :ipv6, XDR::Opaque[16] end end end
Version data entries
36 entries across 36 versions & 2 rubygems