Method: Net::NTLM::Int32LE#parse

Defined in:
lib/net/ntlm.rb,
lib/net/ntlm_http.rb

#parse(str, offset = 0) ⇒ Object



324
325
326
327
328
329
330
331
# File 'lib/net/ntlm.rb', line 324

def parse(str, offset=0)
  if @active and str.size >= offset + @size
    @value = str.slice(offset, @size).unpack("V")[0]
    @size
  else
    0
  end
end