129 for (
int i = 0; i < 16; i++)
134 for (
int j = 0;
j < 4;
j++)
153 for (
int i = 0; i < 16; i++)
174 for (
int i = 0; i < 16; i++)
272 return ptr4->ByteCount;
331 for (
int i = 0; i < 16; i++)
361 10002 =>
"x-mac-chinesetrad",
362 20833 =>
"x-ebcdic-koreanextended",
static readonly bool IsLittleEndian
static sbyte ReverseEndianness(sbyte value)
static IntPtr AllocHGlobal(int cb)
IntPtr DangerousGetHandle()
static string NotSupported_NoCodepageData
static string Format(string resourceFormat, object p1)
static string GetResourceString(string resourceKey)
SafeAllocHHandle safeNativeMemoryHandle
BaseCodePageEncoding(int codepage, int dataCodePage, EncoderFallback enc, DecoderFallback dec)
void LoadCodePageTables()
BaseCodePageEncoding(int codepage, int dataCodePage)
void CheckMemorySection()
int m_firstDataWordOffset
static unsafe EncodingInfo[] GetEncodings(CodePagesEncodingProvider provider)
static readonly byte[] s_codePagesDataHeader
static unsafe void ReadCodePageHeader(Stream stream, byte[] codePageHeader)
static unsafe void ReadCodePageIndex(Stream stream, byte[] codePageIndex)
char[] GetBestFitUnicodeToBytesData()
static unsafe void ReadCodePageDataFileHeader(Stream stream, byte[] codePageDataFileHeader)
static unsafe void ReadCodePageIndex(Stream stream, Span< byte > codePageIndex)
unsafe byte * GetNativeMemory(int iSize)
char[] arrayUnicodeBestFit
static unsafe int GetCodePageByteSize(int codePage)
unsafe bool FindCodePage(int codePage)
static readonly object s_streamLock
static Stream s_codePagesEncodingDataStream
static Stream GetEncodingDataStream(string tableName)
void LoadManagedCodePage()
char[] GetBestFitBytesToUnicodeData()
static string GetLocalizedEncodingNameResource(int codePage)
void GetObjectData(SerializationInfo info, StreamingContext context)
static readonly IntPtr Zero