Пример #1
0
        public override void GetAvailableLanguageCodes(out uint count, Buffer <byte> _languageCodes)
        {
            var languageCodes = _languageCodes.As <ulong>();

            count = (uint)languageCodes.Length;
            for (var i = 0; i < count; ++i)
            {
                languageCodes[i] = LanguageCode.GetLanguageCode(i);
            }
        }
Пример #2
0
 public override void GetDesiredLanguage(out byte[] _0) => _0 = BitConverter.GetBytes(LanguageCode.GetLanguageCode(1));
Пример #3
0
 public override void GetLanguageCode(out byte[] code) =>
 code = BitConverter.GetBytes(LanguageCode.GetLanguageCode(1));