//readium-shared/org.readium.r2.shared.fetcher/LazyResource/read
read¶
[androidJvm]\ open suspend override fun read(range: LongRange?): ResourceTry<ByteArray>
Reads the bytes at the given range.
When range is null, the whole content is returned. Out-of-range indexes are clamped to the available length automatically.