utils

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNullTerminatedString

func GetNullTerminatedString(data []byte) (string, int)

GetNullTerminatedString returns the null-terminated string from the data and the offset of the next byte after the null terminator

Parameters: - data: The data to extract the null-terminated string from

Returns: - The null-terminated string - The offset of the next byte after the null terminator

func GetNullTerminatedUnicodeString

func GetNullTerminatedUnicodeString(data []byte) (string, int)

GetNullTerminatedUnicodeString returns the null-terminated Unicode string from the data and the offset of the next byte after the null terminator

Parameters: - data: The data to extract the null-terminated Unicode string from

Returns: - The null-terminated Unicode string - The offset of the next byte after the null terminator

Types

This section is empty.

Jump to

Keyboard shortcuts

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