testutil

package
v0.0.0-...-dc0442f Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAndBase64Decode

func ReadAndBase64Decode(filename string) ([]byte, error)

ReadAndBase64Decode reads a base64-encoded file and returns the decoded data. The entire content is returned as a single buffer.

func ReadAndHexDecode

func ReadAndHexDecode(filename string) ([][]byte, error)

ReadAndHexDecode reads a hex-encoded file and returns the decoded data. Each line is returned as its own buffer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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