class Qpid::Proton::UTFString
UTFString lets an application explicitly state that a string of characters is to be UTF-8 encoded.
Public Class Methods
new(value)
click to toggle source
Calls superclass method
# File lib/qpid_proton/strings.rb, line 48 def initialize(value) if !Qpid::Proton.is_valid_utf?(value) raise RuntimeError.new("invalid UTF string") end super(value) end