ReadBuffer constructor Null safety

ReadBuffer(
  1. ByteData data
)

Creates a ReadBuffer for reading from the specified data.

Implementation

ReadBuffer(this.data)
  : assert(data != null);