1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
////////////////////////////////////////////////////////////////////////////////
// Do not modify!
// Generated by codergen -go
////////////////////////////////////////////////////////////////////////////////
package objects
import (
"android.googlesource.com/platform/tools/gpu/binary"
"android.googlesource.com/platform/tools/gpu/binary/registry"
)
func init() {
registry.Add((*Terminator)(nil).Class())
}
var (
TerminatorID = binary.ID{0x67, 0x56, 0x42, 0x64, 0x1b, 0xc7, 0xa0, 0xf4, 0x8d, 0xe1, 0x64, 0xc0, 0x4d, 0x22, 0x9b, 0xa8, 0x13, 0xb2, 0x70, 0xea}
)
type binaryClassTerminator struct{}
func (*Terminator) Class() binary.Class {
return (*binaryClassTerminator)(nil)
}
func doEncodeTerminator(e binary.Encoder, o *Terminator) error {
return nil
}
func doDecodeTerminator(d binary.Decoder, o *Terminator) error {
return nil
}
func doSkipTerminator(d binary.Decoder) error {
return nil
}
func (*binaryClassTerminator) ID() binary.ID { return TerminatorID }
func (*binaryClassTerminator) New() binary.Object { return &Terminator{} }
func (*binaryClassTerminator) Encode(e binary.Encoder, obj binary.Object) error {
return doEncodeTerminator(e, obj.(*Terminator))
}
func (*binaryClassTerminator) Decode(d binary.Decoder) (binary.Object, error) {
obj := &Terminator{}
return obj, doDecodeTerminator(d, obj)
}
func (*binaryClassTerminator) DecodeTo(d binary.Decoder, obj binary.Object) error {
return doDecodeTerminator(d, obj.(*Terminator))
}
func (*binaryClassTerminator) Skip(d binary.Decoder) error { return doSkipTerminator(d) }
|