blob: 89e26b9aec8496005f2263300d0e55b729e2fa70 [file] [log] [blame]
Nico Huber292f8a32024-02-08 19:07:30 +01001package body FILO is
2
3 function Equal (Str : String; Buf : Buffer_Type) return Boolean is
4 begin
5 for I in Str'Range loop
6 if Character'Pos (Str (I)) /= Buf (Buf'First + (I - Str'First)) then
7 return False;
8 end if;
9 end loop;
10 return True;
11 end Equal;
12
13end FILO;