Returns the UTF-8 byte length of content. Used by the Save hook to populate ContentSizeBytes so clients can display file sizes without reading the full blob. Exported for direct unit-testing.
content
ContentSizeBytes
Returns the UTF-8 byte length of
content. Used by the Save hook to populateContentSizeBytesso clients can display file sizes without reading the full blob. Exported for direct unit-testing.