Re-implement the endian types by inheriting from endian_buffer.