added float/double read/write to Buffer