Serial data: 2 hidden/unreadable characters (EOL)

When sending something, anything, to the my Arduino via the serial monitor I constantly get 2 more characters that I sent, one of them is \r. I can't find the other and I don't know how to find it, sending the serial data back is useless as it's non-human readable... can anybody help?

This is what I use to read and show the number of received bytes:

Serial.print(Serial.readBytesUntil('\0', serialData, 31));

Mind that I have to stop at 31 even though my serialData is a 32 char array. For some reason I get all kind of weird stuff when I stop at 32 and go over the limit when sending something bigger than 32 characters.

When sending something, anything, to the my Arduino via the serial monitor I constantly get 2 more characters that I sent

You can change what the Serial Monitor appends, using the drop down in the lower right corner of the window.

one of them is \r. I can't find the other

Most likely, it \n.

This is what I use to read and show the number of received bytes:

There is never going to be a NULL in the input stream, when the stream comes from the serial monitor.

PaulS:

When sending something, anything, to the my Arduino via the serial monitor I constantly get 2 more characters that I sent

You can change what the Serial Monitor appends, using the drop down in the lower right corner of the window.

I thought this was to instruct the serial monitor how to interpret incoming stuff... no wonder it never worked :P. Thanks.

PaulS:
There is never going to be a NULL in the input stream, when the stream comes from the serial monitor.

From what I've seen it seems there is actually is a NULL character at then end of the sent string via the serial monitor. Never mind, I effed up.