class Nokogiri::XML::SAX::ParserContext
def memory(input, encoding = nil)
which are more convenient for most use cases.
💡 Calling this method directly is discouraged. Use Nokogiri::XML::SAX::Parser parse methods
[Returns] Nokogiri::XML::SAX::ParserContext
use (default +nil+, encoding will be autodetected)
- +encoding+ (optional) (Encoding, String) The +Encoding+ to use, or the name of an encoding to
- +input+ (String) The input string to be parsed.
[Parameters]
Create a parser context for the +input+ String.
memory(input, encoding)
memory(input)
:call-seq:
##
def memory(input, encoding = nil) native_memory(input, resolve_encoding(encoding)) end