|
| 1 | +//TODO! Disable missing XML comments. |
| 2 | +#pragma warning disable CS1591 |
| 3 | + |
| 4 | +using CSharpToJavaScript.Utils; |
| 5 | +using System; |
| 6 | + |
| 7 | +namespace CSharpToJavaScript.APIs.JS.Ecma; |
| 8 | + |
| 9 | +[To(ToAttribute.Default)] |
| 10 | +public partial class DataView : DataViewPrototype |
| 11 | +{ |
| 12 | + [To(ToAttribute.FirstCharToLowerCase)] |
| 13 | + public static DataViewPrototype Prototype { get; } = new(); |
| 14 | + public DataView(ArrayBuffer buffer, int byteOffset = 0, int byteLength = 0) { } |
| 15 | +} |
| 16 | +[To(ToAttribute.FirstCharToLowerCase)] |
| 17 | +public class DataViewPrototype : FunctionPrototype |
| 18 | +{ |
| 19 | + public ArrayBuffer Buffer { get; } = new(0); |
| 20 | + public int ByteLength { get; } = 0; |
| 21 | + public int ByteOffset { get; } = 0; |
| 22 | + |
| 23 | + public DataViewPrototype() { } |
| 24 | + |
| 25 | + public BigInt GetBigInt64(int byteOffset, bool littleEndian = true) |
| 26 | + { |
| 27 | + throw new System.NotImplementedException(); |
| 28 | + } |
| 29 | + public BigInt GetUBigInt64(int byteOffset, bool littleEndian = true) |
| 30 | + { |
| 31 | + throw new System.NotImplementedException(); |
| 32 | + } |
| 33 | + public float GetFloat32(int byteOffset, bool littleEndian = true) |
| 34 | + { |
| 35 | + throw new System.NotImplementedException(); |
| 36 | + } |
| 37 | + public float GetFloat64(int byteOffset, bool littleEndian = true) |
| 38 | + { |
| 39 | + throw new System.NotImplementedException(); |
| 40 | + } |
| 41 | + public int GetInt8(int byteOffset) |
| 42 | + { |
| 43 | + throw new System.NotImplementedException(); |
| 44 | + } |
| 45 | + public int GetInt16(int byteOffset, bool littleEndian = true) |
| 46 | + { |
| 47 | + throw new System.NotImplementedException(); |
| 48 | + } |
| 49 | + public int GetInt32(int byteOffset, bool littleEndian = true) |
| 50 | + { |
| 51 | + throw new System.NotImplementedException(); |
| 52 | + } |
| 53 | + public int GetUint8(int byteOffset) |
| 54 | + { |
| 55 | + throw new System.NotImplementedException(); |
| 56 | + } |
| 57 | + public int GetUint16(int byteOffset, bool littleEndian = true) |
| 58 | + { |
| 59 | + throw new System.NotImplementedException(); |
| 60 | + } |
| 61 | + public int GetUint32(int byteOffset, bool littleEndian = true) |
| 62 | + { |
| 63 | + throw new System.NotImplementedException(); |
| 64 | + } |
| 65 | + public GlobalObject.Undefined SetBigInt64(int byteOffset, dynamic value, bool littleEndian = true) |
| 66 | + { |
| 67 | + throw new System.NotImplementedException(); |
| 68 | + } |
| 69 | + public GlobalObject.Undefined SetBigUint64(int byteOffset, dynamic value, bool littleEndian = true) |
| 70 | + { |
| 71 | + throw new System.NotImplementedException(); |
| 72 | + } |
| 73 | + public GlobalObject.Undefined SetFloat32(int byteOffset, dynamic value, bool littleEndian = true) |
| 74 | + { |
| 75 | + throw new System.NotImplementedException(); |
| 76 | + } |
| 77 | + public GlobalObject.Undefined SetFloat64(int byteOffset, dynamic value, bool littleEndian = true) |
| 78 | + { |
| 79 | + throw new System.NotImplementedException(); |
| 80 | + } |
| 81 | + public GlobalObject.Undefined SetInt8(int byteOffset, dynamic value) |
| 82 | + { |
| 83 | + throw new System.NotImplementedException(); |
| 84 | + } |
| 85 | + public GlobalObject.Undefined SetInt16(int byteOffset, dynamic value, bool littleEndian = true) |
| 86 | + { |
| 87 | + throw new System.NotImplementedException(); |
| 88 | + } |
| 89 | + public GlobalObject.Undefined SetInt32(int byteOffset, dynamic value, bool littleEndian = true) |
| 90 | + { |
| 91 | + throw new System.NotImplementedException(); |
| 92 | + } |
| 93 | + public GlobalObject.Undefined SetUint8(int byteOffset, dynamic value) |
| 94 | + { |
| 95 | + throw new System.NotImplementedException(); |
| 96 | + } |
| 97 | + public GlobalObject.Undefined SetUint16(int byteOffset, dynamic value, bool littleEndian = true) |
| 98 | + { |
| 99 | + throw new System.NotImplementedException(); |
| 100 | + } |
| 101 | + public GlobalObject.Undefined SetUint32(int byteOffset, dynamic value, bool littleEndian = true) |
| 102 | + { |
| 103 | + throw new System.NotImplementedException(); |
| 104 | + } |
| 105 | + |
| 106 | +} |
0 commit comments