rahulrk-dev / snips

Short code snippets for all development requirements to grab easily
4 stars 18 forks source link

Create ByteSizeOfString.md #72

Closed shafa-shabudeen closed 1 year ago

shafa-shabudeen commented 1 year ago

Created a program that demonstrates how to calculate the size of a string in bytes. It takes a user-defined string, converts it to bytes using the default character encoding (usually UTF-8), and then returns the size of the string in bytes

shafa-shabudeen commented 1 year ago

I made the changes and rename the file also.

shafa-shabudeen commented 1 year ago

Thank you