<FromGitter>
<confact> How do you check if a String is EOF? - some data from a third party use EOF to split data chunks...
<FromGitter>
<oprypin:matrix.org> @confact: EOF is not a thing - not something that just a sequence of bytes can represent.
<FromGitter>
<oprypin:matrix.org> so a String in Crystal is never "EOF" - don't need to check
<FromGitter>
<oprypin:matrix.org> if you provide more details, i'd be glad to help. make sure to ping me.
SamantazFox has quit [Ping timeout: 240 seconds]
SamantazFox has joined #crystal-lang
<FromGitter>
<jrei:matrix.org> Maybe by EOF you meant ending with a null byte, as in C?
ur5us has joined #crystal-lang
<FromGitter>
<confact> yea, probably. i got a JSON Parse Error on `<EOF>` on line 1, character 1... And that's where I was at. I notice ` String.empty?` considered that as empty and used that.
ur5us has quit [Ping timeout: 256 seconds]
SamantazFox has quit [Ping timeout: 240 seconds]
SamantazFox has joined #crystal-lang
notzmv has quit [Ping timeout: 250 seconds]
SamantazFox has quit [Read error: Connection reset by peer]