Skip to content

Commit 9fa853a

Browse files
authored
Add octal representation of the current byte in data inspector (#410)
1 parent 235b655 commit 9fa853a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

media/editor/dataInspectorProperties.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export interface IInspectableType {
1616
export const inspectableTypes: readonly IInspectableType[] = [
1717
{ label: "binary", minBytes: 1, convert: dv => dv.getUint8(0).toString(2).padStart(8, "0") },
1818

19+
{ label: "octal", minBytes: 1, convert: dv => dv.getUint8(0).toString(8).padStart(3, "0") },
20+
1921
{ label: "uint8", minBytes: 1, convert: dv => dv.getUint8(0).toString() },
2022
{ label: "int8", minBytes: 1, convert: dv => dv.getInt8(0).toString() },
2123

0 commit comments

Comments
 (0)