readWritable<W extends Writable> method

W readWritable<W extends Writable>(
  1. W reader(
    1. BytesBuffer input
    )
)

Reads a Writable using the reader function to instantiate the W instance.

Implementation

W readWritable<W extends Writable>(W Function(BytesBuffer input) reader) =>
    reader(this);