Skip to content

Commit

Permalink
chore: write comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Nov 4, 2024
1 parent 0cd1dcb commit a8cae0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nova_vm/src/ecmascript/types/spec/data_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ pub trait Viewable: private::Sealed + Copy {
fn into_le_value(self, agent: &mut Agent) -> Value;
fn from_le_value(agent: &mut Agent, gc: GcScope<'_, '_>, value: Value) -> Self;
fn from_be_value(agent: &mut Agent, gc: GcScope<'_, '_>, value: Value) -> Self;

// TODO: Consider adding the following methods if needed
// fn into_ne_value(self, agent: &mut Agent) -> Value;
// fn from_ne_value(agent: &mut Agent, gc: GcScope<'_, '_>, value: Value) -> Self;
}

impl Viewable for u8 {
Expand Down

0 comments on commit a8cae0b

Please sign in to comment.