class LineDeserializer implements EventDeserializer {

  @Override
  public Event readEvent() throws IOException {
    ensureOpen();
    String line = readLine();
    if (line == null) {
      return null;
    } else {
      return EventBuilder.withBody(line, outputCharset);
    }
  }

    LineDeserializer(Context context, ResettableInputStream in);

}