Class AbstractFullBox

    • Constructor Detail

      • AbstractFullBox

        protected AbstractFullBox​(String type)
      • AbstractFullBox

        protected AbstractFullBox​(String type,
                                  byte[] userType)
    • Method Detail

      • setVersion

        public void setVersion​(int version)
        Specified by:
        setVersion in interface FullBox
      • setFlags

        public void setFlags​(int flags)
        Specified by:
        setFlags in interface FullBox
      • parseVersionAndFlags

        protected final long parseVersionAndFlags​(ByteBuffer content)
        Parses the version/flags header and returns the remaining box size.
        Parameters:
        content - the ByteBuffer that contains the version & flag
        Returns:
        number of bytes read
      • writeVersionAndFlags

        protected final void writeVersionAndFlags​(ByteBuffer bb)