Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagUnsynchronisation = 0b10000000 FlagExtendedHeader = 0b01000000 FlagExperimental = 0b00100000 )
View Source
const (
MinimalPaddingSize = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { FileIdentifier []byte MajorVersion byte Revision byte Unsynchronisation bool ExtendedHeader bool Experimental bool // If the tag changes in anyway, this may be out dated and should be updated upon writing. Size int }
func (*Header) MarshalBinary ¶
func (*Header) UnmarshalBinary ¶
type ID3v2 ¶
func NewID3v2FromFile ¶
NewID3v2FromFile reads in and unmarshals the entire ID3v2.3 tag.
func (*ID3v2) MarshalBinary ¶
MarshalBinaryv2 will only marshal the id3v2 tag to binary.
func (*ID3v2) UnmarshalBinary ¶
type NoID3v2IdentifierError ¶
type NoID3v2IdentifierError struct {
// contains filtered or unexported fields
}
func NewNoID3v2IdentifierError ¶
func NewNoID3v2IdentifierError(actual []byte) *NoID3v2IdentifierError
func (*NoID3v2IdentifierError) Error ¶
func (n *NoID3v2IdentifierError) Error() string
Click to show internal directories.
Click to hide internal directories.