mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 00:11:28 +00:00
fixes
This commit is contained in:
@ -84,6 +84,10 @@ export class Uint8Array extends ArrayBufferView {
|
||||
super(length, alignof<u8>());
|
||||
}
|
||||
|
||||
get buffer(): ArrayBuffer {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
get length(): i32 {
|
||||
return this.byteLength;
|
||||
}
|
||||
|
Reference in New Issue
Block a user