mirror of
https://github.com/wader/fq.git
synced 2024-11-25 23:13:19 +03:00
26 lines
419 B
Go
26 lines
419 B
Go
//go:build exclude
|
|
|
|
package bts2022
|
|
|
|
func decode(d *decode.D) any {
|
|
d.FieldArray("headers", func(d *decode.D) {
|
|
for !d.End() {
|
|
d.TryFieldFormat("header", headerGroup)
|
|
}
|
|
})
|
|
|
|
d.FieldArray("frames", func(d *decode.D) {
|
|
for !d.End() {
|
|
d.TryFieldFormat("frame", mp3Group)
|
|
}
|
|
})
|
|
|
|
d.FieldArray("footers", func(d *decode.D) {
|
|
for !d.End() {
|
|
d.TryFieldFormat("footer", footerGroup)
|
|
}
|
|
})
|
|
|
|
return nil
|
|
}
|