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