Class: shaka.util.Id3Utils
    
    A set of Id3Utils utility functions.
    
    
        
    
    Constructor
    
    
    new Id3Utils()
    
    
    A set of Id3Utils utility functions.
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
 
    
     
    
    
    
    
    
    
    
        Members
        
            
UTF8_encoding :number
    UTF8 encoding byte
    Type:
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
 
        
    
    
        Methods
        
            
        
            
        
            
    
    
    getID3Data(id3Data, offsetopt) → {Uint8Array}
    
    
    Returns any adjacent ID3 tags found in data starting at offset, as one
block of data
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        Attributes | 
        
        
        Default | 
        
        Description | 
    
    
    
    
        
            
                id3Data | 
            
            
            
                
Uint8Array
            
             | 
            
                
                
                
                
                 | 
            
            
                
                
                 | 
            
            The ID3 data containing one or more ID3 tags | 
        
    
        
            
                offset | 
            
            
            
                
number
            
             | 
            
                
                
                    <optional> 
                
                
                
                 | 
            
            
                
                
                    0
                
                 | 
            
            The offset at which to start searching | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
Uint8Array
    
 
    
 
        
            
    
    
    
    
    
    Returns an array of ID3 frames found in all the ID3 tags in the id3Data
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                id3Data | 
            
            
            
                
Uint8Array
            
             | 
            
            
            The ID3 data containing one or more ID3 tags | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
Array<shaka.extern.MetadataFrame>
    
 
    
 
        
            
    
    
    
    
    
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                data | 
            
            
            
                
Uint8Array
            
             | 
            
            
             | 
        
    
        
            
                offset | 
            
            
            
                
number
            
             | 
            
            
             | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
boolean
    
 
    
 
        
            
    
    
    
    
    
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                data | 
            
            
            
                
Uint8Array
            
             | 
            
            
             | 
        
    
        
            
                offset | 
            
            
            
                
number
            
             | 
            
            
             | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
boolean
    
 
    
 
        
            
    
    
    readSize_(data, offset) → {number}
    
    
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                data | 
            
            
            
                
Uint8Array
            
             | 
            
            
             | 
        
    
        
            
                offset | 
            
            
            
                
number
            
             | 
            
            
             | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
number