Function StreamPeer.getString

Gets a string with byte-length bytes from the stream. If bytes is negative (default) the length will be read from the stream using the reverse process of putString.

String getString (
  const(long) bytes = -1L
) nothrow @nogc;