12#ifndef ARCANE_STD_TEXTREADER_H
13#define ARCANE_STD_TEXTREADER_H
18#include "arcane/utils/String.h"
45 ARCANE_DEPRECATED_REASON(
"Y2024: This class is deprecated")
46 explicit TextReader(
const String& filename);
48 TextReader(
const TextReader& rhs) =
delete;
50 TextReader& operator=(
const TextReader& rhs) =
delete;
60 void setFileOffset(
Int64 v);
63 std::ifstream& stream();
64 Int64 fileLength()
const;
68 ARCANE_DEPRECATED_REASON(
"Y2023: Use read(Span<const std::byte>) instead")
70 ARCANE_DEPRECATED_REASON(
"Y2023: Use read(Span<const std::byte>) instead")
72 ARCANE_DEPRECATED_REASON(
"Y2023: Use read(Span<const std::byte>) instead")
74 ARCANE_DEPRECATED_REASON(
"Y2023: Use read(Span<const std::byte>) instead")
76 ARCANE_DEPRECATED_REASON(
"Y2023: Use read(Span<const std::byte>) instead")
85 void _binaryRead(
void* bytes,
Int64 len);
86 void _checkStream(
const char* type,
Int64 nb_read_value);
Declarations of types used in Arcane.
Interface of a service for compressing/decompressing data.
Reference to an instance.
View of an array of elements of type T.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.