unsafez

package module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 1 Imported by: 2

README

gopherz

ezpkg.io/unsafez

PkgGoDev GitHub License version

Package unsafez provides unsafe functions for working with unsafe.Pointer.

Installation

go get -u ezpkg.io/unsafez@v0.2.2

Examples

data := errorz.Must(os.ReadFile()))
str := unsafez.BytesToString(data)
fmt.Println(str)

About ezpkg.io

As I work on various Go projects, I often find myself creating utility functions, extending existing packages, or developing packages to solve specific problems. Moving from one project to another, I usually have to copy or rewrite these solutions. So I created this repository to have all these utilities and packages in one place. Hopefully, you'll find them useful as well.

For more information, see the main repository.

Author

Oliver Nguyen  github

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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