readString method Null safety

  1. @Deprecated("Use string method instead")
String readString(
  1. int length
)
@Deprecated("Use string method instead")

Reads a string of the given length from the buffer.

Implementation

@Deprecated("Use string method instead")
String readString(int length) => string(length);