mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			396 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| dictionary MemoryDescriptor {
 | |
|     required [EnforceRange] unsigned long initial;
 | |
|     [EnforceRange] unsigned long maximum;
 | |
| };
 | |
| 
 | |
| // https://webassembly.github.io/spec/js-api/#memories
 | |
| [LegacyNamespace=WebAssembly, Exposed=*]
 | |
| interface Memory {
 | |
|     constructor(MemoryDescriptor descriptor);
 | |
| 
 | |
|     unsigned long grow([EnforceRange] unsigned long delta);
 | |
| 
 | |
|     readonly attribute ArrayBuffer buffer;
 | |
| };
 | 
