That implementation is also hilariously bad:
> read things ONE F*CKING BYTE AT A TIME with system calls for each byte