// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Core/StreamWrapper.h:34 ///
/// class StreamInWrapper : public StreamIn ///
///
/// /// /// Wrapper around std::istream /// /// [InteropHandle] public readonly partial struct StreamInWrapper { /// /// /// C++: /// Jolt/Core/StreamWrapper.h:41 ///
/// virtual void ReadBytes(void *outData, size_t inNumBytes) override ///
///
/// /// /// Write a string of bytes to the binary stream /// /// public unsafe void ReadBytes(Ptr data, nuint numBytes) => Jolt.PInvoke.StreamInWrapper_ReadBytes(this, data, numBytes); /// /// /// C++: /// Jolt/Core/StreamWrapper.h:44 ///
/// virtual bool IsEOF() const override ///
///
/// /// /// Returns true when an attempt has been made to read past the end of the file /// /// public bool IsEOF() => Jolt.PInvoke.StreamInWrapper_IsEOF(this); /// /// /// C++: /// Jolt/Core/StreamWrapper.h:47 ///
/// virtual bool IsFailed() const override ///
///
/// /// /// Returns true if there was an IO failure /// /// public bool IsFailed() => Jolt.PInvoke.StreamInWrapper_IsFailed(this); public static implicit operator StreamIn(StreamInWrapper value) => Jolt.PInvoke.StreamInWrapper_AsStreamIn(value); } }