Home
last modified time | relevance | path

Searched refs:byteChannel (Results 1 – 2 of 2) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DIsoFile.java37 ReadableByteChannel byteChannel; field in IsoFile
45 this.byteChannel = new FileInputStream(f).getChannel(); in IsoFile()
50 public IsoFile(ReadableByteChannel byteChannel) throws IOException { in IsoFile() argument
52 this.byteChannel = byteChannel; in IsoFile()
57 public IsoFile(ReadableByteChannel byteChannel, BoxParser boxParser) throws IOException { in IsoFile() argument
59 this.byteChannel = byteChannel; in IsoFile()
85 Box box = boxParser.parseBox(byteChannel, this); in parse()
193 this.byteChannel.close(); in close()
DAbstractBoxParser.java47 public Box parseBox(ReadableByteChannel byteChannel, ContainerBox parent) throws IOException { in parseBox() argument
50 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()