View Source argo_block_reader (argo v1.0.0)
Summary
Types
-type t() :: #argo_block_reader{}.
Functions
-spec format_error(dynamic(), dynamic()) -> dynamic().
-spec length_bounds_check(BlockReader, Length) -> ok when BlockReader :: t(), Length :: integer().
-spec new(Block) -> BlockWriter when Block :: binary(), BlockWriter :: t().
-spec read_bytes(BlockReader, Length) -> {BlockReader, Bytes} when BlockReader :: t(), Length :: argo_types:length(), Bytes :: binary().
-spec read_float64(BlockReader) -> {BlockReader, Float64} when BlockReader :: t(), Float64 :: float().
-spec read_string(BlockReader, Length, NullTerminatedStrings) -> {BlockReader, String} when BlockReader :: t(), Length :: argo_types:length(), NullTerminatedStrings :: boolean(), String :: unicode:unicode_binary().
-spec read_varint(BlockReader) -> {BlockReader, Varint} when BlockReader :: t(), Varint :: argo_types:i64().