datafields

package
v1.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataFields

type DataFields struct {
	// Len is the length of the data fields (in bytes)
	Len uint16

	// MaxLen is the maximum length of the data fields (in bytes)
	MaxLen uint16

	// BufferOffset is the offset of the buffer (in bytes)
	BufferOffset uint32
}

DataFields is the data fields of an NTLM message

func (*DataFields) Equal

func (df *DataFields) Equal(other *DataFields) bool

Equal compares two DataFields structs for equality

func (*DataFields) Marshal

func (df *DataFields) Marshal() ([]byte, error)

Marshal serializes the DataFields into a byte slice

func (*DataFields) Unmarshal

func (df *DataFields) Unmarshal(data []byte) (int, error)

Unmarshal deserializes a byte slice into DataFields

Jump to

Keyboard shortcuts

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