readString method Null safety

String readString(
  1. {int? size,
  2. bool utf8 = true}
)

Read a null-terminated string, or if len is provided, that number of bytes returned as a string.

Implementation

String readString({int? size, bool utf8 = true});