DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 977 (0x3d1) Types: TextFile Names: »B«
└─⟦85b835f43⟧ Bits:30000549 8mm tape, Rational 1000, Xlib rev 6.00 └─ ⟦0c20f784e⟧ »DATA« └─⟦1abbe589f⟧ └─⟦49e7f20b9⟧ └─⟦this⟧
with Xlbt_Arithmetic; use Xlbt_Arithmetic; ------------------------------------------------------------------------------ -- Data - Specifies the data to be byte-swapped. -- -- If necessary, swap bytes in a U_Char_Array to match the internal -- representation used on this machine. The raw data array passed -- should represent a single primitive item (E.g. a S_Long or U_Short). ------------------------------------------------------------------------------ --/ if Byte0_Sign_Byte then function Swap_U_Char (Data : U_Char_Array) return U_Char_Array is begin return Data; end Swap_U_Char; --/ else --// --// function Swap_U_Char (Data : U_Char_Array) return U_Char_Array is --// Bias : constant S_Natural := Data'Length + 1; --// Result : U_Char_Array (Data'Range); --// begin --// for Index in Data'Range loop --// Result (Index) := Data (Bias - Index); --// end loop; --// return Result; --// end Swap_Raw_Data; --// --/ end if;