Method: Neovim::RemoteObject.from_mpdata

Defined in:
lib/neovim/remote_object.rb

.from_mpdata(data, client) ⇒ Object



86
87
88
89
90
# File 'lib/neovim/remote_object.rb', line 86

def from_mpdata data, client
  b = MPLight::BufferIO.new data
  index = TRANSFER.do_input b do TRANSFER.get end
  new index, client
end