struct Slice(T)

Overview

=> aka Bytes

Included Modules

Defined in:

lib/crystal-secp256k1-zkp/src/crystal-secp256k1-zkp/extension.cr
bitshares-crystal/graphene_serializer.cr

Constructors

Instance Method Summary

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

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

Class methods inherited from module Graphene::Serialize::Pack(Slice(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.unpack(io) : self #

[View source]

Instance Method Detail

def pack(io) #

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

[View source]