parser

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnsafeBytesToString

func UnsafeBytesToString(bytes []byte) string

UnsafeBytesToString parses the given binary slice into a string using built-in unsafe package

Took from: https://hackernoon.com/golang-unsafe-type-conversions-and-memory-access-odz3yrl

func UnsafeStringToBytes

func UnsafeStringToBytes(s string) []byte

UnsafeStringToBytes parses the given string into a binary slice using built-in unsafe package

Took from: https://hackernoon.com/golang-unsafe-type-conversions-and-memory-access-odz3yrl

Types

This section is empty.

Jump to

Keyboard shortcuts

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