class Ruby::Marshal::UserClass

Overview

ā€œCā€ represents a subclass of a String, Regexp, Array or Hash. Following the type byte is a symbol containing the name of the subclass. Following the name is the wrapped object.

Defined in:

ruby-marshal/stream_objects/user_class.cr

Constructors

Instance Method Summary

Instance methods inherited from class Ruby::Marshal::StreamObject

size : Int32 size, stream_size stream_size

Constructor methods inherited from class Ruby::Marshal::StreamObject

new(size : Int32) new

Constructor Detail

def self.new(stream : Bytes) #

[View source]

Instance Method Detail

def class_name : Ruby::Marshal::Symbol #

[View source]

[View source]
def read(stream : Bytes) #

[View source]