bytes method

Implementation

Future<ResourceTry<ByteData>> bytes() async =>
    transform(await resource.read());