mirror of
https://github.com/wader/fq.git
synced 2024-11-30 09:58:13 +03:00
22 lines
389 B
Go
22 lines
389 B
Go
func decode(d *decode.D, _ any) 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
|
|
}
|