utils

package
v0.0.0-...-06f5a1e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Align

func Align(size, alignment uint32) uint32

func EnsureDirectory

func EnsureDirectory(targetPath string) error

func NativeByteOrder

func NativeByteOrder() binary.ByteOrder

Types

type InPlaceWriter

type InPlaceWriter struct {
	// contains filtered or unexported fields
}

func NewInPlaceWriter

func NewInPlaceWriter(buf []byte, off int) *InPlaceWriter

func (*InPlaceWriter) Write

func (w *InPlaceWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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