Class: Discorb::Voice::OggStream::Page::Packet

Inherits:
Struct
  • Object
show all
Defined in:
lib/discorb/voice/ogg.rb

Overview

Returns The struct of the packet.

Returns:

  • (Struct)

    The struct of the packet

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



60
61
62
# File 'lib/discorb/voice/ogg.rb', line 60

def data
  @data
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



60
61
62
# File 'lib/discorb/voice/ogg.rb', line 60

def page
  @page
end

#partialObject

Returns the value of attribute partial

Returns:

  • (Object)

    the current value of partial



60
61
62
# File 'lib/discorb/voice/ogg.rb', line 60

def partial
  @partial
end