21 references to s_codePagesEncodingDataStream
System.Text.Encoding.CodePages (21)
System\Text\BaseCodePageEncoding.cs (11)
274s_codePagesEncodingDataStream.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin); 288ReadCodePageIndex(s_codePagesEncodingDataStream, codePageIndex); 293long position = s_codePagesEncodingDataStream.Position; 294s_codePagesEncodingDataStream.Seek((long)pCodePageIndex->Offset, SeekOrigin.Begin); 295ReadCodePageHeader(s_codePagesEncodingDataStream, m_codePageHeader); 296m_firstDataWordOffset = (int)s_codePagesEncodingDataStream.Position; // stream now pointing to the codepage data 300m_dataSize = (int)(s_codePagesEncodingDataStream.Length - pCodePageIndex->Offset - m_codePageHeader.Length); 305s_codePagesEncodingDataStream.Seek(position, SeekOrigin.Begin); 307ReadCodePageIndex(s_codePagesEncodingDataStream, codePageIndex); 330s_codePagesEncodingDataStream.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin); 344ReadCodePageIndex(s_codePagesEncodingDataStream, codePageIndex);
System\Text\BaseCodePageEncoding.netcoreapp.cs (2)
41s_codePagesEncodingDataStream.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin); 57ReadCodePageIndex(s_codePagesEncodingDataStream, pCodePageIndex);
System\Text\DBCSCodePageEncoding.cs (4)
137s_codePagesEncodingDataStream.Seek(m_firstDataWordOffset, SeekOrigin.Begin); 138int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, m_dataSize); 260s_codePagesEncodingDataStream.Seek(m_firstDataWordOffset, SeekOrigin.Begin); 261int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, m_dataSize);
System\Text\SBCSCodePageEncoding.cs (4)
101s_codePagesEncodingDataStream.Seek(m_firstDataWordOffset, SeekOrigin.Begin); 102int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, buffer.Length); 165s_codePagesEncodingDataStream.Seek(m_firstDataWordOffset + 512, SeekOrigin.Begin); 166int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, buffer.Length);