class Ruby::Marshal::String

Overview

‘“’ represents a String. Following the type byte is a byte sequence containing the string content. When dumped from ruby 1.9 an encoding instance variable (:E see above) should be included unless the encoding is binary.

Defined in:

ruby-marshal/stream_objects/string.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 : String #

[View source]