mirror of
				https://hub.gitmirror.com/https://github.com/gradle/gradle-build-action
				synced 2025-10-31 01:50:08 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			253 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			253 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var Buffer = require('buffer').Buffer;
 | |
| 
 | |
| // Backwards compatibility for node versions < 8
 | |
| if (Buffer.from === undefined) {
 | |
|   Buffer.from = function (a, b, c) {
 | |
|     return new Buffer(a, b, c)
 | |
|   };
 | |
| 
 | |
|   Buffer.alloc = Buffer.from;
 | |
| }
 | |
| 
 | |
| module.exports = Buffer; |