☰
In parity_wasm::elements
Modules
opcodes
Structs
BrTableData
CodeSection
CountedList
CountedListWriter
CountedWriter
CustomSection
DataSection
DataSegment
ElementSection
ElementSegment
ExportEntry
ExportSection
Func
FuncBody
FunctionNameSubsection
FunctionSection
FunctionType
GlobalEntry
GlobalSection
GlobalType
ImportEntry
ImportSection
IndexMap
InitExpr
Instructions
Local
LocalNameSubsection
MemorySection
MemoryType
Module
ModuleNameSubsection
NameSection
RelocSection
ResizableLimits
TableSection
TableType
TypeSection
Uint32
Uint64
Uint8
Unparsed
VarInt32
VarInt64
VarInt7
VarUint1
VarUint32
VarUint64
VarUint7
Enums
BlockType
Error
External
ImportCountType
Instruction
Internal
RelocationEntry
Section
TableElementType
Type
ValueType
Traits
Deserialize
Serialize
Functions
deserialize_buffer
deserialize_file
peek_size
serialize
serialize_to_file
Type Definitions
NameMap
?
Function
parity_wasm
::
elements
::
peek_size
source
·
[
−
]
pub fn peek_size(source: &[
u8
]) ->
usize
Expand description
Returns size of the module in the provided stream.