You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bytesize.go
    path of file: ./repos/pyroscope/pkg/og/util/bytesize
    
    the code of the file until where you have to start completion: package bytesize

import (
	"errors"
	"fmt"
	"regexp"
	"strconv"
	"strings"
)

type ByteSize int64

const Byte ByteSize = 1

const (
	// TODO: fix units - SI and IEC standards swapped.

	KB = 1024 * Byte
	MB 
    
func (b ByteSize) String() string {
	if b < KB {
		return fmt.Sprintf("%d bytes", b)
	}
	bf := float64(b)
	for _, s := range suffixes {
		bf /= 1024.0
		if bf < 1024 {
			return fmt.Sprintf("%.2f %s", bf, s)
		}
	}
	return fmt.Sprintf("%.2f %s", bf, suffixes[len(suffixes)-1])
}