I want to save information about existing SMB shares on my Windows system to a file and have determined max number of characters that can be used by the following properties to be:
Share Name: 80 chars
Scope Name: 256 chars
Path: 260 chars
Description: 256 chars
How do I calculate the space (in bytes) that will be occupied by this information?