EncodingHelper Class

Assembly
GitVersion.Core.dll
Namespace
GitVersion.Helpers
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EncodingHelper"] class Type type-node

Syntax

public static class EncodingHelper

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Methods

Name Value Summary
DetectEncoding(IList<byte>) Encoding
Returns the first encoding where all the preamble bytes match exactly.
static
DetectEncoding(string) Encoding
Detects the encoding of a file if and only if it includes a preamble .
static

Extension Methods

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>