Home | History | Annotate | Download | only in mdat

Lines Matching defs:contentSize

61     private long contentSize;
99 transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteChannel);
134 size += contentSize;
138 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
140 this.contentSize = contentSize;
142 if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) {
145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize);
147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize));
170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset));