TigerBeetlex.Account (tigerbeetlex v0.16.48)

View Source

See Account.

Summary

Functions

Creates a TigerBeetlex.Account struct from its binary representation.

Converts a TigerBeetlex.Account struct to its binary representation.

Types

t()

@type t() :: %TigerBeetlex.Account{
  code: non_neg_integer(),
  credits_pending: non_neg_integer(),
  credits_posted: non_neg_integer(),
  debits_pending: non_neg_integer(),
  debits_posted: non_neg_integer(),
  flags: TigerBeetlex.AccountFlags.t(),
  id: <<_::128>>,
  ledger: non_neg_integer(),
  timestamp: non_neg_integer(),
  user_data_128: <<_::128>>,
  user_data_32: non_neg_integer(),
  user_data_64: non_neg_integer()
}

Functions

from_binary(bin)

@spec from_binary(binary :: <<_::1024>>) :: t()

Creates a TigerBeetlex.Account struct from its binary representation.

to_binary(struct)

@spec to_binary(struct :: t()) :: <<_::1024>>

Converts a TigerBeetlex.Account struct to its binary representation.