Verifies that a buffer of bytes contains a AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a AccountInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.
Verifies that a buffer of bytes contains a BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a BlockInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.
Verifies that a buffer of bytes contains a CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.
Assumes, without verification, that a buffer of bytes contains a CompiledInstruction and returns it.
Verifies, with the given options, that a buffer of bytes
contains a CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.
Verifies that a buffer of bytes contains a SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a SlotStatusInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.
Verifies that a buffer of bytes contains a TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a TransactionInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.
Verifies that a buffer of bytes contains a size prefixed
AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_account_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a size prefixed AccountInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed AccountInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.
Verifies that a buffer of bytes contains a size prefixed
BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_block_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a size prefixed BlockInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed BlockInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.
Verifies that a buffer of bytes contains a size prefixed
CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_compiled_instruction_unchecked
.
Assumes, without verification, that a buffer of bytes contains a size prefixed CompiledInstruction and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed CompiledInstruction
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.
Verifies that a buffer of bytes contains a size prefixed
SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_slot_status_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a size prefixed SlotStatusInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed SlotStatusInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.
Verifies that a buffer of bytes contains a size prefixed
TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_transaction_info_unchecked
.
Assumes, without verification, that a buffer of bytes contains a size prefixed TransactionInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed TransactionInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.