version

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyCredentialVersion_0 uint32 = 0x0
	KeyCredentialVersion_1 uint32 = 0x00000100
	KeyCredentialVersion_2 uint32 = 0x00000200
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyCredentialVersion

type KeyCredentialVersion struct {
	Value uint32

	// Internal
	RawBytes     []byte
	RawBytesSize uint32
}

func (*KeyCredentialVersion) Marshal

func (kcv *KeyCredentialVersion) Marshal() ([]byte, error)

Marshal returns the raw bytes of the KeyCredentialVersion structure.

Returns: - A byte slice representing the raw bytes of the KeyCredentialVersion structure.

func (*KeyCredentialVersion) String

func (kcv *KeyCredentialVersion) String() string

String returns a string representation of the KeyCredentialVersion.

Returns: - A string representing the KeyCredentialVersion.

func (*KeyCredentialVersion) Unmarshal

func (kcv *KeyCredentialVersion) Unmarshal(value []byte) (int, error)

Unmarshal parses the KeyCredentialVersion from a byte array.

Parameters: - value: A byte array representing the KeyCredentialVersion.

Jump to

Keyboard shortcuts

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