Searched refs:byteChannel (Results 1 – 2 of 2) 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()