class StumpyJPEG::Segment::APP

Defined in:

stumpy_jpeg/segment/app.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(n, bytes : Slice(UInt8)) #

[View source]

Class Method Detail

def self.build_jfif_header #

[View source]
def self.from_io(io : IO) #

[View source]

Instance Method Detail

def bytes : Bytes #

[View source]
def jfif? #

[View source]
def length #

[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]