byteLengthCount the bytes a string or binary value holds, or null when it holds noneutils-bytelength2logUtilsindex.jsBytesA string counts its UTF-8 bytes, not its characters, which is what an upload limit or a storage quota measures. Pair with toByteSize to compare against a limit written as 1mb["utils","bytes","bytelength","size","utf-8","length"]Example
Categories