tools

package
v0.0.0-...-51da36d Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright 2009 The Go Authors. All rights reserved.

Index

Constants

View Source
const (
	AsciiLow     = byte(0x20)
	AsciiHigh    = byte(0x7e)
	AsciiReplace = byte(0x2e) // .
)

Variables

This section is empty.

Functions

func FormatByteArrayToUtf8

func FormatByteArrayToUtf8(p []byte) string

func FormatStringToUtf8

func FormatStringToUtf8(s string) string

func GetAsciiString

func GetAsciiString(data []byte) string

* Get the ascii readable string, replace other value to '.', like wireshark.

func ParseTraceHeader

func ParseTraceHeader(headers map[string]string) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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