nskeyedarchiver

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSKeyedArchiverParser

type NSKeyedArchiverParser struct {
	// contains filtered or unexported fields
}

NSKeyedArchiverParser is a parser for NSKeyedArchiver files

func NewNSKeyedArchiverParser

func NewNSKeyedArchiverParser(data []byte) (*NSKeyedArchiverParser, error)

NewNSKeyedArchiverParser creates a new NSKeyedArchiverParser

func (*NSKeyedArchiverParser) NextObject

func (p *NSKeyedArchiverParser) NextObject() (interface{}, error)

NextObject parses the next object from the NSKeyedArchiver data

type ObjectInfo

type ObjectInfo struct {
	// The type of the object
	Type ObjectType

	// The reference count of the object
	Ref int
}

ObjectInfo contains the information about an object in the NSKeyedArchiver data

type ObjectType

type ObjectType int

ObjectType is an enumeration of the possible types of objects in the NSKeyedArchiver data

const (
	ObjectTypeInt ObjectType = iota
	ObjectTypeBool
	ObjectTypeReal
	ObjectTypeDate
	ObjectTypeASCIIString
	ObjectTypeData
	ObjectTypeUnicodeString
	ObjectTypeUID
	ObjectTypeArray
	ObjectTypeSet
	ObjectTypeDictionary
)

Possible values of the ObjectType enumeration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL