View Source argo_block_writer (argo v1.0.1)
Summary
Types
-type t() :: #argo_block_writer{}.
Functions
-spec format_error(dynamic(), dynamic()) -> dynamic().
-spec new(Block) -> BlockWriter when Block :: binary(), BlockWriter :: t().
-spec to_writer(BlockWriter) -> Writer when BlockWriter :: t(), Writer :: binary().
-spec write_bytes(BlockWriter, Bytes) -> BlockWriter when BlockWriter :: t(), Bytes :: binary().
-spec write_float64(BlockWriter, Float64) -> BlockWriter when BlockWriter :: t(), Float64 :: float().
-spec write_string(BlockWriter, String, NullTerminatedStrings) -> BlockWriter when BlockWriter :: t(), String :: unicode:unicode_binary(), NullTerminatedStrings :: boolean().
-spec write_varint(BlockWriter, Varint) -> BlockWriter when BlockWriter :: t(), Varint :: argo_types:i64().