A Matroska element.  
 More...
◆ compareWithBytes1:bytes2:
      
        
          | + (bool) compareWithBytes1:  | 
           | 
          (NSMutableData *)  | 
          bytes1 | 
        
        
          | bytes2: | 
           | 
          (NSMutableData *)  | 
          bytes2  | 
        
        
           | 
           | 
           |  | 
        
      
 
Compares two byte arrays for equality. 
- Parameters
 - 
  
    | bytes1 | The first byte array.  | 
    | bytes2 | The second byte array.  | 
  
   
 
 
◆ element
◆ getBytes
      
        
          | - (NSMutableData*) getBytes  | 
           | 
           | 
           | 
        
      
 
Serializes to a byte array. 
 
 
◆ getInnerBytes
      
        
          | - (NSMutableData*) getInnerBytes  | 
           | 
           | 
           | 
        
      
 
Gets the inner bytes. 
Implemented in FMLiveSwitchMatroskaVideo, FMLiveSwitchMatroskaTrackEntry, FMLiveSwitchMatroskaTrack, FMLiveSwitchMatroskaTags, FMLiveSwitchMatroskaSegmentInfo, FMLiveSwitchMatroskaSegment, FMLiveSwitchMatroskaSeekHead, FMLiveSwitchMatroskaSeek, FMLiveSwitchMatroskaEbmlVoid, FMLiveSwitchMatroskaEbmlCrc32, FMLiveSwitchMatroskaEbml, FMLiveSwitchMatroskaCues, FMLiveSwitchMatroskaContentEncodings, FMLiveSwitchMatroskaContentEncoding, FMLiveSwitchMatroskaContentCompression, FMLiveSwitchMatroskaCluster, FMLiveSwitchMatroskaChapters, FMLiveSwitchMatroskaBlockGroup, FMLiveSwitchMatroskaBlockAdditions, FMLiveSwitchMatroskaBlock, FMLiveSwitchMatroskaAudio, and FMLiveSwitchMatroskaAttachments.
 
 
◆ id
Gets the EBML ID. 
Implemented in FMLiveSwitchMatroskaVideo, FMLiveSwitchMatroskaTrackEntry, FMLiveSwitchMatroskaTrack, FMLiveSwitchMatroskaTags, FMLiveSwitchMatroskaSimpleBlock, FMLiveSwitchMatroskaSegmentInfo, FMLiveSwitchMatroskaSegment, FMLiveSwitchMatroskaSeekHead, FMLiveSwitchMatroskaSeek, FMLiveSwitchMatroskaEbmlVoid, FMLiveSwitchMatroskaEbmlCrc32, FMLiveSwitchMatroskaEbml, FMLiveSwitchMatroskaCues, FMLiveSwitchMatroskaContentEncodings, FMLiveSwitchMatroskaContentEncoding, FMLiveSwitchMatroskaContentCompression, FMLiveSwitchMatroskaCluster, FMLiveSwitchMatroskaChapters, FMLiveSwitchMatroskaBlockGroup, FMLiveSwitchMatroskaBlockAdditions, FMLiveSwitchMatroskaBlock, FMLiveSwitchMatroskaAudio, and FMLiveSwitchMatroskaAttachments.
 
 
◆ init
Implemented in FMLiveSwitchMatroskaVideo, FMLiveSwitchMatroskaTrackEntry, FMLiveSwitchMatroskaTrack, FMLiveSwitchMatroskaTags, FMLiveSwitchMatroskaSimpleBlock, FMLiveSwitchMatroskaSegmentInfo, FMLiveSwitchMatroskaSegment, FMLiveSwitchMatroskaSeekHead, FMLiveSwitchMatroskaSeek, FMLiveSwitchMatroskaEbmlVoid, FMLiveSwitchMatroskaEbmlCrc32, FMLiveSwitchMatroskaEbml, FMLiveSwitchMatroskaCues, FMLiveSwitchMatroskaContentEncodings, FMLiveSwitchMatroskaContentEncoding, FMLiveSwitchMatroskaContentCompression, FMLiveSwitchMatroskaCluster, FMLiveSwitchMatroskaChapters, FMLiveSwitchMatroskaBlockGroup, FMLiveSwitchMatroskaBlockAdditions, FMLiveSwitchMatroskaBlock, FMLiveSwitchMatroskaAudio, and FMLiveSwitchMatroskaAttachments.
 
 
◆ length
Gets the total length of the element (including ID/size field), set after calling getBytes. 
 
 
◆ readBool:
      
        
          | + (bool) readBool:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a boolean element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readDate:
      
        
          | + (NSDate*) readDate:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a date string element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readDouble:
      
        
          | + (double) readDouble:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a double element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readFloat:
      
        
          | + (float) readFloat:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a float element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readGuid:
      
        
          | + (FMLiveSwitchGuid*) readGuid:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a GUID element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readIdWithBytes:offset:offsetPlus:
      
        
          | + (NSMutableData*) readIdWithBytes:  | 
           | 
          (NSMutableData *)  | 
          bytes | 
        
        
          | offset: | 
           | 
          (int)  | 
          offset | 
        
        
          | offsetPlus: | 
           | 
          (int *)  | 
          offsetPlus  | 
        
        
           | 
           | 
           |  | 
        
      
 
Reads a binary ID from the stream. 
- Parameters
 - 
  
    | bytes | The byte array.  | 
    | offset | The offset into the byte array.  | 
    | offsetPlus | The offset plus the amount read.  | 
  
   
 
 
◆ readSignedInteger:
      
        
          | + (long long) readSignedInteger:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a signed integer element from the byte array. 
- Parameters
 - 
  
  
 
 
 
◆ readString:
      
        
          | + (NSString*) readString:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads an ASCII string element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readUnsignedInteger:
      
        
          | + (long long) readUnsignedInteger:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads an unsigned integer element from the byte array. 
- Parameters
 - 
  
  
 
 
 
◆ readUtf8:
      
        
          | + (NSString*) readUtf8:  | 
           | 
          (NSMutableData *)  | 
          value | 
           | 
        
      
 
Reads a UTF-8 string element from the stream. 
- Parameters
 - 
  
  
 
 
 
◆ readValueWithBytes:offset:offsetPlus:
      
        
          | + (NSMutableData*) readValueWithBytes:  | 
           | 
          (NSMutableData *)  | 
          bytes | 
        
        
          | offset: | 
           | 
          (int)  | 
          offset | 
        
        
          | offsetPlus: | 
           | 
          (int *)  | 
          offsetPlus  | 
        
        
           | 
           | 
           |  | 
        
      
 
Reads a binary value from the stream. 
- Parameters
 - 
  
    | bytes | The byte array.  | 
    | offset | The offset into the byte array.  | 
    | offsetPlus | The offset plus the amount read.  | 
  
   
 
 
◆ readVariableIntegerWithBytes:offset:offsetPlus:
      
        
          | + (long long) readVariableIntegerWithBytes:  | 
           | 
          (NSMutableData *)  | 
          bytes | 
        
        
          | offset: | 
           | 
          (int)  | 
          offset | 
        
        
          | offsetPlus: | 
           | 
          (int *)  | 
          offsetPlus  | 
        
        
           | 
           | 
           |  | 
        
      
 
Reads a variable integer ("vint") from the byte array. 
- Parameters
 - 
  
    | bytes | The byte array.  | 
    | offset | The offset into the byte array.  | 
    | offsetPlus | The offset plus the amount read.  | 
  
   
 
 
◆ serializeVariableInteger:
      
        
          | + (NSMutableData*) serializeVariableInteger:  | 
           | 
          (long long)  | 
          value | 
           | 
        
      
 
Serializes a variable integer. 
- Parameters
 - 
  
  
 
 
 
◆ serializeVariableInteger:length:
Serializes a variable integer using a fixed length. 
- Parameters
 - 
  
    | value | The value.  | 
    | length | The length to use.  | 
  
   
 
 
◆ setSizeLength:
      
        
          | - (void) setSizeLength:  | 
           | 
          (int)  | 
          value | 
           | 
        
      
 
Sets the length of the size field, in bytes. 
Defaults to zero (variable size). 
 
 
◆ setWriteDefaultValues:
      
        
          | - (void) setWriteDefaultValues:  | 
           | 
          (bool)  | 
          value | 
           | 
        
      
 
Sets whether to include default values when serializing. 
 
 
◆ size
Gets the size of the element (excluding ID/size field), set after calling getBytes. 
 
 
◆ sizeLength
Gets the length of the size field, in bytes. 
Defaults to zero (variable size). 
 
 
◆ write:id:stream:
Writes a binary element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeBool:id:stream:
Writes a boolean element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeDate:id:stream:
Writes a date element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeDefaultValues
      
        
          | - (bool) writeDefaultValues  | 
           | 
           | 
           | 
        
      
 
Gets whether to include default values when serializing. 
 
 
◆ writeDouble:id:stream:
Writes a double element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeFloat:id:stream:
Writes a float element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeGuid:id:stream:
Writes a GUID element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeSignedInteger:id:stream:
Writes an signed integer element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeString:id:stream:
Writes an ASCII string element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeUnsignedInteger:id:stream:
Writes an unsigned integer element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeUtf8:id:stream:
Writes a UTF-8 string element to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | idValue | The ID of the value.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeVariableInteger:stream:
Writes a variable integer ("vint") to the stream. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | stream | The stream to write.  | 
  
   
 
 
◆ writeVariableInteger:stream:length:
Writes a variable integer ("vint") to the stream using a fixed length. 
- Parameters
 - 
  
    | value | The value to write.  | 
    | stream | The stream to write.  | 
    | length | The length to use.  |