ex_hl7 v1.0.0 HL7.LogReader

Link to this section Summary

Link to this section Types

Link to this type

callback()

callback() :: (binary(), pos_integer(), state :: term() -> read_ret())
Link to this type

read_ret()

read_ret() :: {:cont, state :: term()} | {:halt, state :: term()}

Link to this section Functions

Link to this function

read(filename, callback, state)

read(Path.t(), callback(), state :: any()) ::
  {:ok, state :: term()} | {:error, reason :: term()}
Link to this function

stats(filename)

stats(Path.t()) ::
  {:ok, {msg_count :: non_neg_integer(), err_count :: non_neg_integer()}}
  | {:error, term()}
Link to this function

valid?(filename)

valid?(Path.t()) :: boolean()