AsmResolver.OutputStreamExtensions.GetSerStringSize C# (CSharp) Метод

GetSerStringSize() публичный статический Метод

Determines the size (in bytes) of a string.
public static GetSerStringSize ( this value ) : uint
value this The string to get the size from.
Результат uint
        public static uint GetSerStringSize(this string value)
        {
            var byteCount = (uint)Encoding.UTF8.GetByteCount(value);
            return byteCount.GetCompressedSize() + byteCount;
        }