You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
262 B
JavaScript
18 lines
262 B
JavaScript
2 years ago
|
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;
|