Re: Module resource as seekable byte channel?

2018-02-05 Thread Mark Raynsford
On 2018-02-04T20:41:48 + Alan Bateman wrote: > > The only support for random access is in the ModuleReader API where the > read method returns a ByteBuffer containing the resource. This is very > efficient for resources in modules that are linked into the runtime >

Re: Module resource as seekable byte channel?

2018-02-04 Thread Alan Bateman
On 04/02/2018 13:31, Mark Raynsford wrote: Hello. I'm working on a problem that would seem to require accessing a (large) resource included inside a module in random manner. More specifically, I have some large audio resources inside a module and need to be able to get something analogous to a

Module resource as seekable byte channel?

2018-02-04 Thread Mark Raynsford
Hello. I'm working on a problem that would seem to require accessing a (large) resource included inside a module in random manner. More specifically, I have some large audio resources inside a module and need to be able to get something analogous to a SeekableByteChannel for a given resource so