-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Text.Decoder.Ref is access;
with type MSSyst.Text.Encoder.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Text.Encoding;
package MSSyst.Text.UTF8Encoding is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ is new MSSyst.Text.Encoding.Typ with record
      null;
   end record;
   function new_UTF8Encoding(
      This : Ref := null) return Ref;
   function new_UTF8Encoding(
      This : Ref := null;
      encoderShouldEmitUTF8Identifier : Standard.Boolean) return Ref;
   function new_UTF8Encoding(
      This : Ref := null;
      encoderShouldEmitUTF8Identifier : Standard.Boolean;
      throwOnInvalidBytes : Standard.Boolean) return Ref;
   function Equals(
      This : access Typ;
      value : MSSyst.Object.Ref) return Standard.Boolean;
   function GetByteCount(
      This : access Typ;
      chars : MSIL_Types.Char_Arr;
      index : Integer;
      count : Integer) return Integer;
   function GetByteCount(
      This : access Typ;
      chars : MSSyst.String.Ref) return Integer;
   function GetBytes(
      This : access Typ;
      s : MSSyst.String.Ref;
      charIndex : Integer;
      charCount : Integer;
      bytes : MSIL_Types.unsigned_int8_Arr;
      byteIndex : Integer) return Integer;
   function GetBytes(
      This : access Typ;
      s : MSSyst.String.Ref) return MSIL_Types.unsigned_int8_Array;
   function GetBytes(
      This : access Typ;
      chars : MSIL_Types.Char_Arr;
      charIndex : Integer;
      charCount : Integer;
      bytes : MSIL_Types.unsigned_int8_Arr;
      byteIndex : Integer) return Integer;
   function GetCharCount(
      This : access Typ;
      bytes : MSIL_Types.unsigned_int8_Arr;
      index : Integer;
      count : Integer) return Integer;
   function GetChars(
      This : access Typ;
      bytes : MSIL_Types.unsigned_int8_Arr;
      byteIndex : Integer;
      byteCount : Integer;
      chars : MSIL_Types.Char_Arr;
      charIndex : Integer) return Integer;
   function GetDecoder(
      This : access Typ) return MSSyst.Text.Decoder.Ref;
   function GetEncoder(
      This : access Typ) return MSSyst.Text.Encoder.Ref;
   function GetHashCode(
      This : access Typ) return Integer;
   function GetMaxByteCount(
      This : access Typ;
      charCount : Integer) return Integer;
   function GetMaxCharCount(
      This : access Typ;
      byteCount : Integer) return Integer;
   function GetPreamble(
      This : access Typ) return MSIL_Types.unsigned_int8_Array;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_UTF8Encoding);
   pragma Import(MSIL,Equals,"Equals");
   pragma Import(MSIL,GetByteCount,"GetByteCount");
   pragma Import(MSIL,GetBytes,"GetBytes");
   pragma Import(MSIL,GetCharCount,"GetCharCount");
   pragma Import(MSIL,GetChars,"GetChars");
   pragma Import(MSIL,GetDecoder,"GetDecoder");
   pragma Import(MSIL,GetEncoder,"GetEncoder");
   pragma Import(MSIL,GetHashCode,"GetHashCode");
   pragma Import(MSIL,GetMaxByteCount,"GetMaxByteCount");
   pragma Import(MSIL,GetMaxCharCount,"GetMaxCharCount");
   pragma Import(MSIL,GetPreamble,"GetPreamble");
end MSSyst.Text.UTF8Encoding;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Text.UTF8Encoding,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Text.UTF8Encoding");
