class PostgresPR::PasswordMessage
Public Instance Methods
dump()
click to toggle source
Calls superclass method
PostgresPR::Message::dump
# File lib/postgres-pr/message.rb, line 214 def dump super(@password.size + 1) do |buffer| buffer.write_cstring(@password) end end
parse(buffer)
click to toggle source
Calls superclass method
PostgresPR::Message#parse
# File lib/postgres-pr/message.rb, line 220 def parse(buffer) super do @password = buffer.read_cstring end end