<commit_before>using System;

using Monoamp.Common.system.io;

namespace Monoamp.Common.Data.Standard.Riff.Wave
{
	public class RiffWaveBext : RiffChunk
	{
		public const string ID = "bext";

		public readonly string description;			// ASCII or S-JIS, Description of the sound sequence
		public readonly string originator;			// ASCII or S-JIS, 制作会社、制作者名
		public readonly string originatorReference;	// ASCII or S-JIS, 制作ユニークコード
		public readonly string originationDate;		// ASCII, 制作年月日 yyyy-mm-dd
		public readonly string originationTime;		// ASCII, 制作時刻 hh:mm:ss
		public readonly UInt32 timeReferenceLow;	// First sample count since midnight, low word
		public readonly UInt32 timeReferenceHigh;	// First sample count since midnight, high word
		public readonly UInt16 version;				// BWF-Jのバージョン番号
		public readonly Byte[] umid;				// Binary Byte 0 of SMPTE UMID
		//public readonly Byte umid_63;				// Binary Byte 63 of SMPTE UMID
		public readonly Byte[] reserved;			// 190 Bytes, reserved for future use, set to “NULL”
		public readonly string codingHistory;		// ASCII or S-JIS, Coding history

		public RiffWaveBext( string aId, UInt32 aSize, ByteArray aByteArray, RiffChunkList aParent )
			: base( aId, aSize, aByteArray, aParent )
		{
			description = aByteArray.ReadString( 256 );
			originator = aByteArray.ReadString( 32 );
			originatorReference = aByteArray.ReadString( 32 );
			originationDate = aByteArray.ReadString( 10 );
			originationTime = aByteArray.ReadString( 8 );
			timeReferenceLow = aByteArray.ReadUInt32();
			timeReferenceHigh = aByteArray.ReadUInt32();
			version = aByteArray.ReadUInt16();
			umid = aByteArray.ReadBytes( 64 );
			reserved = aByteArray.ReadBytes( 190 );
			codingHistory = aByteArray.ReadString( ( int )( Size - 256 - 32 - 32 - 10 - 8 - 4 - 4 - 2 - 64 - 190 ) );<commit_msg>ソースコードの文字コード問題対処.<commit_after>using System;

using Monoamp.Common.system.io;

namespace Monoamp.Common.Data.Standard.Riff.Wave
{
	public class RiffWaveBext : RiffChunk
	{
		public const string ID = "bext";

		public readonly string description;	
		public readonly string originator;
		public readonly string originatorReference;
		public readonly string originationDate;
		public readonly string originationTime;
		public readonly UInt32 timeReferenceLow;
		public readonly UInt32 timeReferenceHigh;
		public readonly UInt16 version;
		public readonly Byte[] umid;
		//public readonly Byte umid_63;
		public readonly Byte[] reserved;
		public readonly string codingHistory;

		public RiffWaveBext( string aId, UInt32 aSize, ByteArray aByteArray, RiffChunkList aParent )
			: base( aId, aSize, aByteArray, aParent )
		{
			description = aByteArray.ReadString( 256 );
			originator = aByteArray.ReadString( 32 );
			originatorReference = aByteArray.ReadString( 32 );
			originationDate = aByteArray.ReadString( 10 );
			originationTime = aByteArray.ReadString( 8 );
			timeReferenceLow = aByteArray.ReadUInt32();
			timeReferenceHigh = aByteArray.ReadUInt32();
			version = aByteArray.ReadUInt16();
			umid = aByteArray.ReadBytes( 64 );
			reserved = aByteArray.ReadBytes( 190 );
			codingHistory = aByteArray.ReadString( ( int )( Size - 256 - 32 - 32 - 10 - 8 - 4 - 4 - 2 - 64 - 190 ) );
{'fraction_non_alphanumeric': 0.089607965152458, 'fraction_numerical': 0.03235843186060983, 'mean_word_length': 3.953775038520801, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5136759', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1012, 'n_words': 301}