-spec get_stderr(map()) -> binary().
-spec get_stdout(map()) -> binary().
-spec init(map()) -> map().
-spec read_stdin(non_neg_integer() | line | all, map()) -> {ok, binary() | eof, map()}.
-spec set_stdout(binary(), map()) -> map().
-spec write_stderr(binary(), map()) -> map().
-spec write_stdout(binary(), map()) -> map().