View Source argo_block_reader (argo v1.0.8)
Summary
Types
-type t() :: #argo_block_reader{block :: binary()}.
Functions
-spec read_bytes(BlockReader, Length) -> {BlockReader, Bytes} when BlockReader :: t(), Length :: argo_types:length(), Bytes :: binary().
-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().