bytes

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package bytes provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesFromHexStrFixZeroPrefix

func BytesFromHexStrFixZeroPrefix(str string) ([]byte, error)

BytesFromHexStrFixZeroPrefix return fix Zero start strings like 00010203040506

func PaddedAppend

func PaddedAppend(dst []byte, srcPaddedSize int, src []byte) []byte

PaddedAppend append src to dst, if less than size padding 0 at start

func PaddedBytes

func PaddedBytes(size int, src []byte) []byte

PaddedBytes padding byte array to size length

Types

This section is empty.

Jump to

Keyboard shortcuts

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