| filebuf | Constructs a filebuf object. | |
| ~filebuf | Destroys a filebuf object. | 
| open | Opens a file and attaches it to the filebuf object. | |
| close | Flushes any waiting output and closes the attached file. | |
| setmode | Sets the file's mode to binary or text. | |
| attach | Attaches the filebuf object to an open file. | 
| fd | Returns the stream's file descriptor. | |
| is_open | Tests whether the file is open. |