NewSerial accepts buffer length.