mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 09:49:24 +02:00
refactor(struct): remove all DataView usage
This commit is contained in:
parent
1d319929ed
commit
75ff6d0ed6
15 changed files with 62 additions and 115 deletions
|
@ -65,11 +65,7 @@ export abstract class StructFieldValue<
|
|||
}
|
||||
|
||||
/**
|
||||
* When implemented in derived classes, serializes this field into `dataView` at `offset`
|
||||
* When implemented in derived classes, serializes this field into `array` at `offset`
|
||||
*/
|
||||
abstract serialize(
|
||||
dataView: DataView,
|
||||
array: Uint8Array,
|
||||
offset: number,
|
||||
): void;
|
||||
abstract serialize(array: Uint8Array, offset: number): void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue