18 lines
262 B
JavaScript
18 lines
262 B
JavaScript
import Buffer from './Buffer.js';
|
|
|
|
class StorageBuffer extends Buffer {
|
|
|
|
constructor( name, attribute ) {
|
|
|
|
super( name, attribute ? attribute.array : null );
|
|
|
|
this.attribute = attribute;
|
|
|
|
this.isStorageBuffer = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default StorageBuffer;
|