brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/StreamOutWrapper.gen.cs
2026-10-15 14:12:02 +13:00

47 lines
2 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
/// <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>
[LibraryImport("jolt", EntryPoint = "StreamOutWrapper_WriteBytes")]
public static partial void StreamOutWrapper_WriteBytes(StreamOutWrapper self, void* data, nuint 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>
[LibraryImport("jolt", EntryPoint = "StreamOutWrapper_IsFailed")]
public static partial Brutal.Bool8 StreamOutWrapper_IsFailed(StreamOutWrapper self);
[LibraryImport("jolt", EntryPoint = "StreamOutWrapper_AsStreamOut")]
public static partial StreamOut StreamOutWrapper_AsStreamOut(StreamOutWrapper self);
}
}
}