MCPcopy Create free account
hub / github.com/Pilfer/hermes_rs / SmallStringTableEntry

Class SmallStringTableEntry

src/hermes/string_table.rs:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#[cfg_attr(feature = "serde", derive(serde::Serialize))]
9#[derive(Debug)]
10pub struct SmallStringTableEntry {
11 pub is_utf_16: bool,
12 pub offset: u32,
13 pub length: u32,
14 // Before v56 there was an additional "identifier" field, but there's no real reason to support it as of right now.
15 // If someone needs it, raise an issue and provide the bytecode file format and def files.
16}
17
18impl Serializable for SmallStringTableEntry {
19 type Version = u32;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected