-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoobdata.go
More file actions
36 lines (30 loc) · 834 Bytes
/
oobdata.go
File metadata and controls
36 lines (30 loc) · 834 Bytes
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
package bluetooth
import (
"github.com/AndroidGoLab/binder/parcel"
)
// Code generated by aidlgen. DO NOT EDIT.
type OobData struct {
LeDeviceRole int32
LeFlags int32
}
var _ parcel.Parcelable = (*OobData)(nil)
func (s *OobData) MarshalParcel(
p *parcel.Parcel,
) error {
p.WriteInt32(-1) // null DeviceAddressWithType
p.WriteInt32(-1) // null ConfirmationHash
p.WriteInt32(-1) // null RandomizerHash
p.WriteInt32(-1) // null DeviceName
p.WriteInt32(-1) // null ClassicLength
p.WriteInt32(-1) // null ClassOfDevice
p.WriteInt32(s.LeDeviceRole)
p.WriteInt32(-1) // null LeTemporaryKey
p.WriteInt32(-1) // null LeAppearance
p.WriteInt32(s.LeFlags)
return nil
}
func (s *OobData) UnmarshalParcel(
p *parcel.Parcel,
) error {
return nil // opaque DeviceAddressWithType: cannot skip without known wire format
}