Searched refs:byteChannel (Results 1 – 3 of 3) sorted by relevance
37 ReadableByteChannel byteChannel; field in IsoFile45 this.byteChannel = new FileInputStream(f).getChannel(); in IsoFile()50 public IsoFile(ReadableByteChannel byteChannel) throws IOException { in IsoFile() argument52 this.byteChannel = byteChannel; in IsoFile()57 public IsoFile(ReadableByteChannel byteChannel, BoxParser boxParser) throws IOException { in IsoFile() argument59 this.byteChannel = byteChannel; in IsoFile()85 Box box = boxParser.parseBox(byteChannel, this); in parse()193 this.byteChannel.close(); in close()
47 public Box parseBox(ReadableByteChannel byteChannel, ContainerBox parent) throws IOException { in parseBox() argument50 ByteBuffer header = ChannelHelper.readFully(byteChannel, 8); in parseBox()66 byteChannel.read(bb); in parseBox()71 if (byteChannel instanceof FileChannel) { in parseBox()72 … size = ((FileChannel) byteChannel).size() - ((FileChannel) byteChannel).position() - 8; in parseBox()82 byteChannel.read(bb); in parseBox()118 box.parse(byteChannel, header, contentSize, this); in parseBox()
696 WritableByteChannel byteChannel = in completeRequest() local699 closer.eventuallyClose(byteChannel, ioExecutor); in completeRequest()700 return ClosingFuture.from(checkNotNull(urlResponse).readResponseBody(byteChannel)); in completeRequest()