BinaryReader.readString

Reads string into str.

Reads until null terminator. If not found, DecodeException is thrown.

  1. void readString(ref T str)
    struct BinaryReader(Range = ubyte[])
    void
    readString
    (
    T
    )
    (
    ref T str
    )
    if (
    isSomeString!T
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range == ubyte)
    )
  2. string readString()

Parameters

str
Type: T

String to read to

Throws

DecodeException

Meta