struct Graphene::Serialize::Tm_empty_set(T)

Overview

空集合,用于代替 Set(T_future_extensions) 类型,提高效率。避免 Set 分配堆内存。

Included Modules

Defined in:

bitshares-crystal/graphene_serializer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Graphene::Serialize::Pack(Graphene::Serialize::Tm_empty_set(T))

pack(io : BinaryIO)
pack
pack
, to_graphene_json(graphene_address_prefix = "") : String to_graphene_json

Class methods inherited from module Graphene::Serialize::Pack(Graphene::Serialize::Tm_empty_set(T))

from_graphene_json(data : JSON::Any | Nil, graphene_address_prefix = "") from_graphene_json, unpack(data : Bytes) unpack

Constructor Detail

def self.from_graphene_json(json : JSON::Any | Nil, args) : self #

[View source]
def self.new #

[View source]
def self.unpack(io) : self #

[View source]

Instance Method Detail

def initialize #

[View source]
def pack(io) #

[View source]
def to_json(json : JSON::Builder) : Nil #

[View source]