Expand description
Auto-generated module
🤖 Generated with SplitRS
Modules§
- kind_
tags - Declaration kind tag values.
- section_
tags - Well-known section tags for the extended binary format.
Functions§
- blobs_
equal - Checks whether two serialized blobs are identical by hash.
- count_
by_ kind - Counts declarations by kind in an already-parsed list.
- decode_
decl - Decodes a
SerialDeclfrom a reader. - dedup_
decls - Returns deduplicated declarations (last occurrence wins).
- deserialize_
decl_ names - Deserialize a list of declaration names from OleanC binary data.
- deserialize_
decls - Deserialize a
Vec<SerialDecl>from binary. - encode_
decl - Encodes a
SerialDeclwith full field data into bytes. - filter_
by_ kind - Filters declarations by kind tag.
- find_
by_ prefix - Finds the first declaration with a given name prefix.
- fnv1a_
64 - Computes a simple hash for a binary blob (for integrity checking).
- from_
hex - Decode a hexadecimal string to bytes.
- group_
by_ namespace - Groups declarations by namespace prefix (up to first dot).
- has_
valid_ magic - Validates that a serialized blob starts with valid OleanC magic.
- merge_
decls - Merge two declaration lists using a strategy.
- peek_
decl_ count - Returns the declared decl_count from a blob (assumes magic + version valid).
- peek_
version - Returns the declared version from a blob (assumes magic is valid).
- read_
bools - Reads a sequence of booleans from a compact bitfield.
- read_
oleanc_ file - Read an OleanC file from disk and return its declaration names.
- serialize_
decl_ names - Serialize a list of declaration names into the OleanC binary format.
- serialize_
decls - Serialize a
Vec<SerialDecl>to binary. - serialized_
decl_ size - Compute byte size of serializing a
SerialDecl. - serialized_
string_ size - Compute byte size of serializing a string.
- sort_
decls_ by_ name - Sorts a declaration list by name.
- to_hex
- Encode a byte slice as hexadecimal for display.
- total_
serialized_ size - Compute the total byte size of a serialized declaration list.
- with_
context - Wraps a deserialization call with context for better error messages.
- write_
bools - Writes a sequence of booleans compactly as a bitfield.
- write_
name_ table_ section - Write a name table as a section to a writer.
- write_
oleanc_ file - Write an OleanC file to disk containing the given declaration names.
Type Aliases§
- Serial
Result - A type alias for results with
SerialError.