class Ruby::Marshal::InstanceObject

Overview

ā€œIā€ indicates that instance variables follow the next object. An object follows the type byte. Following the object is a length indicating the number of instance variables for the object. Following the length is a set of name-value pairs. The names are symbols while the values are objects. The symbols must be instance variable names (:@name).

Defined in:

ruby-marshal/stream_objects/instance_object.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 data #

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

read instance variables


[View source]