Added the functions Buffer, IsEmpty and Size