class StumpyJPEG::Segment::SOS

Defined in:

stumpy_jpeg/segment/sos.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class StumpyJPEG::Segment

marker : UInt8 marker, to_s(io : IO) to_s

Constructor methods inherited from class StumpyJPEG::Segment

new(marker : UInt8) new

Constructor Detail

def self.new(number_of_components : Int32, selectors : Array(StumpyJPEG::Component::Selector), spectral_start : Int32, spectral_end : Int32, approx_high : Int32, approx_low : Int32) #

[View source]

Class Method Detail

def self.from_io(io) #

[View source]

Instance Method Detail

def approx_high : Int32 #

[View source]
def approx_low : Int32 #

[View source]
def length #

[View source]
def number_of_components : Int32 #

[View source]
def selectors : Array(Component::Selector) #

[View source]
def spectral_end : Int32 #

[View source]
def spectral_start : Int32 #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]