View Source argo_block_writer (argo v1.0.10)

Summary

Types

-type t() :: #argo_block_writer{block :: binary()}.

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().
Link to this function

write_bytes(BlockWriter, Bytes)

View Source
-spec write_bytes(BlockWriter, Bytes) -> BlockWriter when BlockWriter :: t(), Bytes :: binary().
Link to this function

write_float64(BlockWriter, Float64)

View Source
-spec write_float64(BlockWriter, Float64) -> BlockWriter when BlockWriter :: t(), Float64 :: float().
Link to this function

write_string(BlockWriter, String, NullTerminatedStrings)

View Source
-spec write_string(BlockWriter, String, NullTerminatedStrings) -> BlockWriter
                when
                    BlockWriter :: t(),
                    String :: unicode:unicode_binary(),
                    NullTerminatedStrings :: boolean().
Link to this function

write_varint(BlockWriter, Varint)

View Source
-spec write_varint(BlockWriter, Varint) -> BlockWriter
                when BlockWriter :: t(), Varint :: argo_types:i64().