6#include "../collections/generic/list.hpp"
7#include "../new_ptr.hpp"
55 bool can_seek() const noexcept override;
59 bool can_write() const noexcept override;
90 void flush() override;
143 xtd::
byte abstract_read_byte_unchecked();
144 void abstract_write_byte_unchecked(
xtd::
byte b);
150 bool writable =
true;
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:59
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition list.hpp:80
Creates a stream whose backing store is memory.
Definition memory_stream.hpp:28
memory_stream(xtd::size capacity)
Initializes a new instance of the MemoryStream class with an expandable capacity initialized as speci...
bool can_read() const noexcept override
Gets a value indicating whether the current stream supports reading.
memory_stream()
Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero.
Provides a generic view of a sequence of bytes. This is an abstract class.
Definition stream.hpp:40
#define core_export_
Define shared library export.
Definition core_export.hpp:13
xtd::sptr< type_t > ptr
The xtd::ptr object is a shared pointer.
Definition ptr.hpp:27
null_ptr null
Represents a null pointer value.
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
seek_origin
Specifies the position in a stream to use for seeking.
Definition seek_origin.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::io::stream class.