Build viewer/editor #13
2 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,10 @@ auto BinaryWriter::position() -> Long {
|
||||||
return _ftelli64(_file);
|
return _ftelli64(_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto BinaryWriter::array() const -> Containers::ArrayView<const char> {
|
||||||
|
return _data;
|
||||||
|
}
|
||||||
|
|
||||||
auto BinaryWriter::arrayPosition() const -> UnsignedLong {
|
auto BinaryWriter::arrayPosition() const -> UnsignedLong {
|
||||||
return _index;
|
return _index;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,7 @@ class BinaryWriter {
|
||||||
|
|
||||||
auto position() -> Long;
|
auto position() -> Long;
|
||||||
|
|
||||||
|
auto array() const -> Containers::ArrayView<const char>;
|
||||||
auto arrayPosition() const -> UnsignedLong;
|
auto arrayPosition() const -> UnsignedLong;
|
||||||
auto flushToFile() -> bool;
|
auto flushToFile() -> bool;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue