Пример #1
0
        public override void decode(MP4InputStream inStream)
        {
            base.decode(inStream);

            schemeType    = (int)inStream.readBytes(4);
            schemeVersion = (int)inStream.readBytes(4);
            schemeURI     = (flags & 1) == 1 ? inStream.readUTFString((int)getLeft(inStream)) : null;
        }
Пример #2
0
        public override void decode(MP4InputStream inStream)
        {
            base.decode(inStream);

            inFile = (flags & 1) == 1;
            if (!inFile)
            {
                location = inStream.readUTFString((int)getLeft(inStream));
            }
        }
        public override void decode(MP4InputStream inStream)
        {
            if (parent.getType() == BoxType.USER_DATA_BOX)
            {
                base.decode(inStream);
                //1 bit padding, 5*3 bits language code (ISO-639-2/T)
                languageCode = BoxUtils.getLanguageCode(inStream.readBytes(2));

                notice = inStream.readUTFString((int)getLeft(inStream));
            }
            else if (parent.getType() == BoxType.ITUNES_META_LIST_BOX)
            {
                readChildren(inStream);
            }
        }
Пример #4
0
        public override void decode(MP4InputStream inStream)
        {
            decodeCommon(inStream);

            data = inStream.readUTFString((int)getLeft(inStream));
        }