- if len(((*(*(struct {
- //mt:const uint16(sha1.Size)
- SHA1 [sha1.Size]byte
- Filename string
- ShouldCache bool
-
- //mt:len32
- Data []byte
- }))(obj)).Data)) > math.MaxUint32 {
- chk(ErrTooLong)
- }
- {
- x := uint32(len(((*(*(struct {
- //mt:const uint16(sha1.Size)
- SHA1 [sha1.Size]byte
- Filename string
- ShouldCache bool
-
- //mt:len32
- Data []byte
- }))(obj)).Data)))
- write32(w, uint32(x))
- }
- {
- _, err := w.Write(((*(*(struct {
- //mt:const uint16(sha1.Size)
- SHA1 [sha1.Size]byte
- Filename string
- ShouldCache bool
-
- //mt:len32
- Data []byte
- }))(obj)).Data)[:])
- chk(err)
- }