/**
 * Temporary container for generic elements.
 */ export interface Buffer < E > { return len ( ) : number ; return cap ( ) : number ; param es return read ( es ) : number ; param es return write ( es ) : number ; param fn return forEach ( fn ) : number ; /**
     * Clears the buffer. This effectively removes all
     * items in the buffer.
     */ clear ( ) : void ; }