mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-10-03 09:15:05 +02:00
Add wrapper a wrapper function to get chunk of data from a content to the ExtractionsService
This commit is contained in:
parent
4f2d811b69
commit
847ed71ae1
@ -166,4 +166,8 @@ public final class ExtractionService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public byte[] getBytesFromContent(Content c, long offset, long size) throws IOException {
|
||||||
|
return getDataProvider().getChunkFromContent(c, offset, (int) size);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user