readWritables<W extends Writable> method

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

Reads a list of Writable using the reader function to instantiate the W elements.

Implementation

List<W> readWritables<W extends Writable>(
    W Function(BytesBuffer input) reader) {
  return toBytesBuffer().readWritables(reader);
}