bplist.go 551 B

123456789101112131415161718192021222324252627
  1. package plist
  2. type bplistTrailer struct {
  3. Unused [5]uint8
  4. SortVersion uint8
  5. OffsetIntSize uint8
  6. ObjectRefSize uint8
  7. NumObjects uint64
  8. TopObject uint64
  9. OffsetTableOffset uint64
  10. }
  11. // for bplist
  12. const (
  13. bpTagNull = 0x00
  14. bpTagBoolFalse = 0x08
  15. bpTagBoolTrue = 0x09
  16. bpTagInteger = 0x10
  17. bpTagReal = 0x20
  18. bpTagDate = 0x30
  19. bpTagData = 0x40
  20. bpTagASCIIString = 0x50
  21. bpTagUTF16String = 0x60
  22. bpTagUID = 0x80
  23. bpTagArray = 0xA0
  24. bpTagDictionary = 0xD0
  25. )