class TTTLS13::Message::ApplicationData

Attributes

fragment[R]

Public Class Methods

deserialize(binary) click to toggle source

@param binary [String]

@return [TTTLS13::Message::ApplicationData]

# File lib/tttls1.3/message/application_data.rb, line 22
def self.deserialize(binary)
  ApplicationData.new(binary || '')
end
new(fragment) click to toggle source

@param [String]

# File lib/tttls1.3/message/application_data.rb, line 10
def initialize(fragment)
  @fragment = fragment
end

Public Instance Methods

serialize() click to toggle source

@return [String]

# File lib/tttls1.3/message/application_data.rb, line 15
def serialize
  @fragment
end