View Source argo_varint (argo v1.0.0)

Summary

Functions

-spec format_error(dynamic(), dynamic()) -> dynamic().
-spec peek_zigzag_i64(Bytes) -> {ok, argo_types:i64()} | error when Bytes :: binary().
-spec peek_zigzag_u64(Bytes) -> {ok, argo_types:u64()} | error when Bytes :: binary().
-spec read_zigzag_i64(Bytes) -> {Rest, argo_types:i64()} when Bytes :: binary(), Rest :: binary().
-spec read_zigzag_u64(Bytes) -> {Rest, argo_types:u64()} when Bytes :: binary(), Rest :: binary().
-spec write_zigzag_i64(argo_types:i64()) -> Bytes when Bytes :: binary().
-spec write_zigzag_u64(argo_types:u64()) -> Bytes when Bytes :: binary().