Reimplement the two missing readBytesUntil() functions
Throw exceptions when it makes sense