Interface MetadataDecoder
-
- All Known Implementing Classes:
AppInfoTableDecoder,EventMessageDecoder,IcyDecoder,Id3Decoder,SimpleMetadataDecoder,SpliceInfoDecoder
public interface MetadataDecoderDecodes metadata from binary data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metadatadecode(MetadataInputBuffer inputBuffer)Decodes aMetadataelement from the provided input buffer.
-
-
-
Method Detail
-
decode
@Nullable Metadata decode(MetadataInputBuffer inputBuffer)
Decodes aMetadataelement from the provided input buffer.Respects
Buffer.limit()ofinputBuffer.data, but assumesBuffer.position()andByteBuffer.arrayOffset()are both zero andByteBuffer.hasArray()is true.- Parameters:
inputBuffer- The input buffer to decode.- Returns:
- The decoded metadata object, or
nullif the metadata could not be decoded or ifBuffer.isDecodeOnly()was set on the input buffer.
-
-