Packages

Aether ATProto is a set of common & shared logic to implement the AT Protocol

Current section

Files

Jump to
aether_atproto lib aether atproto car block.ex
Raw

lib/aether/atproto/car/block.ex

defmodule Aether.ATProto.CAR.Block do
@moduledoc """
A single block in a CAR file.
Each block contains a CID and its associated data.
"""
defstruct [:cid, :data]
@type t :: %__MODULE__{
cid: Aether.ATProto.CID.t(),
data: binary()
}
end