fdb v5.1.7-7 FDB.Coder.Subspace View Source
Link to this section Summary
Functions
Concats two subspaces. The coder associated with a
will be discarded
Creates a new subspace. The prefix can be provided in three ways
Link to this section Functions
Link to this function
concat(a, b)
View Source
concat(FDB.Coder.t(), FDB.Coder.t()) :: FDB.Coder.t()
Concats two subspaces. The coder associated with a
will be discarded.
Link to this function
new(prefix, coder \\ FDB.Coder.Identity.new())
View Source
new(binary() | {any(), FDB.Coder.t()} | FDB.Directory.t(), FDB.Coder.t()) :: FDB.Coder.t()
Creates a new subspace. The prefix can be provided in three ways
- raw binary
- {prefix_value, prefix_coder} - a value and a coder to encode the value
- a directory