Fix number of arguments exception

Received wrong number of arguments (2 for 1) exception.
Looks like read should respond to read(length, outbuf) where outbuf is a reference to a String and should be initialised with the result if present