FileDocCategorySizeDatePackage
DecoderSpecificInfo.javaAPI Docmp4parser 1.0-RC-172292Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.boxes.mp4.objectdescriptors

DecoderSpecificInfo

public class DecoderSpecificInfo extends BaseDescriptor
abstract class DecoderSpecificInfo extends BaseDescriptor : bit(8) tag=DecSpecificInfoTag { // empty. To be filled by classes extending this class. }

Fields Summary
byte[]
bytes
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object o)

        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        DecoderSpecificInfo that = (DecoderSpecificInfo) o;

        if (!Arrays.equals(bytes, that.bytes)) {
            return false;
        }

        return true;
    
public inthashCode()

        return bytes != null ? Arrays.hashCode(bytes) : 0;
    
public voidparseDetail(java.nio.ByteBuffer bb)

        if (sizeOfInstance > 0) {
            bytes = new byte[sizeOfInstance];
            bb.get(bytes);
        }
    
public java.nio.ByteBufferserialize()

        ByteBuffer out = ByteBuffer.wrap(bytes);

        return out;
    
public intserializedSize()

        return bytes.length;
    
public java.lang.StringtoString()

        final StringBuilder sb = new StringBuilder();
        sb.append("DecoderSpecificInfo");
        sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
        sb.append('}");
        return sb.toString();