// // 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:17 ///
/// class StreamOutWrapper : public StreamOut ///
///
/// /// /// Wrapper around std::ostream /// /// [InteropHandle] public readonly partial struct StreamOutWrapper { /// /// /// C++: /// Jolt/Core/StreamWrapper.h:24 ///
/// virtual void WriteBytes(const void *inData, size_t inNumBytes) override ///
///
/// /// /// Write a string of bytes to the binary stream /// /// public unsafe void WriteBytes(Ptr data, nuint numBytes) => Jolt.PInvoke.StreamOutWrapper_WriteBytes(this, data, numBytes); /// /// /// C++: /// Jolt/Core/StreamWrapper.h:27 ///
/// virtual bool IsFailed() const override ///
///
/// /// /// Returns true if there was an IO failure /// /// public bool IsFailed() => Jolt.PInvoke.StreamOutWrapper_IsFailed(this); public static implicit operator StreamOut(StreamOutWrapper value) => Jolt.PInvoke.StreamOutWrapper_AsStreamOut(value); } }