memory

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToString

func ToString(size int64) string

ToString returns a given size in bytes as a human size string. Examples: ToString(1) ==> "1B"; ToString(1000) ==> "1KB"

Types

type Bytes

type Bytes int64

func (Bytes) String

func (bytes Bytes) String() string

Jump to

Keyboard shortcuts

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