nullTerminatedString method Null safety

String nullTerminatedString(
  1. Encoding encoding
)

Implementation

String nullTerminatedString(Encoding encoding) =>
    encoding.decode(nullTerminatedList);