SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d

View file

@ -0,0 +1,55 @@
// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L17">Jolt/Core/StreamWrapper.h:17</see>
/// <br/>
/// <c>class StreamOutWrapper : public StreamOut</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Wrapper around std::ostream
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct StreamOutWrapper
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L24">Jolt/Core/StreamWrapper.h:24</see>
/// <br/>
/// <c>virtual void WriteBytes(const void *inData, size_t inNumBytes) override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Write a string of bytes to the binary stream
/// </para>
/// </remarks>
public unsafe void WriteBytes(Ptr data, nuint numBytes) => Jolt.PInvoke.StreamOutWrapper_WriteBytes(this, data, numBytes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L27">Jolt/Core/StreamWrapper.h:27</see>
/// <br/>
/// <c>virtual bool IsFailed() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Returns true if there was an IO failure
/// </para>
/// </remarks>
public bool IsFailed() => Jolt.PInvoke.StreamOutWrapper_IsFailed(this);
public static implicit operator StreamOut(StreamOutWrapper value) => Jolt.PInvoke.StreamOutWrapper_AsStreamOut(value);
}
}