New Issue: I/O module: channel.advancePastByte and channel.advancePastNewline

19610, "jhh67", "I/O module: channel.advancePastByte and channel.advancePastNewline", "2022-04-05T22:42:57Z"

  • Should we keep channel.advancePastByte?
    • If so, what should its name be and how should it be spelled?
  • Should we add channel.advancePastNewline?
    • If so, what should its name be and how should it be spelled?
  • Currently, advancePastByte throws if the byte is not found. Is this the desired behavior for both, or would it be better to either return true/false or perhaps the offset at which the byte was found (negative if it's not found)?