finished translating Class:Buffer and require