read static method

ScriptProblem read(
  1. BinaryReader reader
)

Implementation

static ScriptProblem read(BinaryReader reader) {
  return ScriptProblem(
    type: ScriptProblemType.values[reader.readUint8()],
    range: ScriptRange.read(reader),
    message: reader.readString(),
  );
}