Class FlacMetadataHeader


  • public class FlacMetadataHeader
    extends java.lang.Object
    A header of FLAC metadata.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BLOCK_COMMENT  
      static int BLOCK_SEEKTABLE  
      int blockLength
      Length of the block, current header excluded
      int blockType
      Block type, see: https://xiph.org/flac/format.html#metadata_block_header
      boolean isLastBlock
      If this header is for the last metadata block.
      static int LENGTH  
    • Constructor Summary

      Constructors 
      Constructor Description
      FlacMetadataHeader​(byte[] data)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • isLastBlock

        public final boolean isLastBlock
        If this header is for the last metadata block. If this is true, then the current metadata block is followed by frames.
      • blockType

        public final int blockType
        Block type, see: https://xiph.org/flac/format.html#metadata_block_header
      • blockLength

        public final int blockLength
        Length of the block, current header excluded
    • Constructor Detail

      • FlacMetadataHeader

        public FlacMetadataHeader​(byte[] data)
        Parameters:
        data - The raw header data