-- $Date: 2004/03/05 09:00:54 $
-- $Revision: 1.2 $
-- $Author: jcrocholl $

with Ada.Unchecked_Deallocation;

package body Bit_Buffers is

   -- Create a bit buffer with a capacity of 8 * Byte_Count bits.
   function Create
     (Byte_Count : in Positive)  -- The number of bytes in the buffer.
     return Bit_Buffer_Access is -- The newly created bit buffer.
   begin
      return new Bit_Buffer(Byte_Count);
   end Create;