scsl 1.0.1
Shimmering Clarity Standard Library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Buffer.h File Reference

Buffer implements basic line buffers. More...

#include <cstdint>
#include <iostream>
Include dependency graph for Buffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  scsl::Buffer
 Basic line buffer. More...
 

Namespaces

namespace  scsl
 scsl is the top-level namespace containing all the code in this library.
 

Functions

std::ostream & scsl::operator<< (std::ostream &os, const Buffer &buf)
 The << operator is overloaded to write out the contents of the Buffer.
 
bool scsl::operator!= (const Buffer &lhs, const Buffer &rhs)
 

Detailed Description

Buffer implements basic line buffers.

Author
K. Isom kyle@.nosp@m.imap.nosp@m..cc
Date
2023-10-09

Buffer implements a basic uint8_t line buffer that is intended for use in text editing. It allocates memory in powers of two, and will grow or shrink as needed.

Copyright 2023 K. Isom kyle@.nosp@m.imap.nosp@m..cc

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all /// copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.