// // 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 { /// /// /// C++: /// Jolt/Core/StreamIn.h:19 ///
/// virtual void ReadBytes(void *outData, size_t inNumBytes) = 0 ///
///
/// /// /// Read a string of bytes from the binary stream /// /// [LibraryImport("jolt", EntryPoint = "StreamIn_ReadBytes")] public static partial void StreamIn_ReadBytes(StreamIn self, void* data, nuint numBytes); /// /// /// C++: /// Jolt/Core/StreamIn.h:23 ///
/// virtual bool IsEOF() const = 0 ///
///
/// /// /// Returns true when an attempt has been made to read past the end of the file. /// Note that this follows the convention of std::basic_ios::eof which only returns true when an attempt is made to read past the end, not when the read pointer is at the end. /// /// [LibraryImport("jolt", EntryPoint = "StreamIn_IsEOF")] public static partial Brutal.Bool8 StreamIn_IsEOF(StreamIn self); /// /// /// C++: /// Jolt/Core/StreamIn.h:26 ///
/// virtual bool IsFailed() const = 0 ///
///
/// /// /// Returns true if there was an IO failure /// /// [LibraryImport("jolt", EntryPoint = "StreamIn_IsFailed")] public static partial Brutal.Bool8 StreamIn_IsFailed(StreamIn self); /// /// /// C++: /// Jolt/Core/StreamIn.h:92 ///
/// void Read(Vec3 &outVec) ///
///
/// /// /// Read a Vec3 (don't read W) /// /// [LibraryImport("jolt", EntryPoint = "StreamIn_Read")] public static partial void StreamIn_Read(StreamIn self, out float3 vec); } } }