You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
484 B
Go
31 lines
484 B
Go
package mp4f
|
|
|
|
import "gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io"
|
|
|
|
type FDummy struct {
|
|
Data []byte
|
|
Tag_ mp4io.Tag
|
|
mp4io.AtomPos
|
|
}
|
|
|
|
func (self FDummy) Children() []mp4io.Atom {
|
|
return nil
|
|
}
|
|
|
|
func (self FDummy) Tag() mp4io.Tag {
|
|
return self.Tag_
|
|
}
|
|
|
|
func (self FDummy) Len() int {
|
|
return len(self.Data)
|
|
}
|
|
|
|
func (self FDummy) Marshal(b []byte) int {
|
|
copy(b, self.Data)
|
|
return len(self.Data)
|
|
}
|
|
|
|
func (self FDummy) Unmarshal(b []byte, offset int) (n int, err error) {
|
|
return
|
|
}
|