Method: Origami::String#to_utf16be

Defined in:
lib/origami/string.rb

#to_utf16beObject

Convert String object to an UTF16-BE encoded binary Ruby string.



133
134
135
136
# File 'lib/origami/string.rb', line 133

def to_utf16be
    detect_encoding
    self.encoding.to_utf16be(self.value)
end