MCPcopy Index your code
hub / github.com/SpectoLabs/hoverfly / String

Method String

core/util/memory_size.go:13–15  ·  view source on GitHub ↗

String returns the string representation of the memory size

()

Source from the content-addressed store, hash-verified

11
12// String returns the string representation of the memory size
13func (m *MemorySize) String() string {
14 return fmt.Sprintf("%d bytes", *m)
15}
16
17// ToBytes returns the memory size as an int in bytes.
18func (m *MemorySize) ToBytes() int {

Calls

no outgoing calls