pub trait IStreamFileUserDataBaseMethods: IStreamFileUserDataBase {
Show 14 methods
// Provided methods
fn initialize(
self,
stream: impl Into<Stream>,
reader: impl Into<StreamReader>,
writer: impl Into<StreamWriter>,
) { ... }
fn check_file_is_not_closed(self) { ... }
fn eof(self) -> bool { ... }
fn read_line(self) -> Il2CppString { ... }
fn read_to_end(self) -> Il2CppString { ... }
fn read_buffer(self, p: impl Into<i32>) -> Il2CppString { ... }
fn peek(self) -> u16 { ... }
fn write(self, value: impl Into<Il2CppString>) { ... }
fn close(self) -> Il2CppString { ... }
fn flush(self) -> bool { ... }
fn seek(
self,
whence: impl Into<Il2CppString>,
offset: impl Into<i64>,
) -> i64 { ... }
fn setvbuf(self, mode: impl Into<Il2CppString>) -> bool { ... }
fn isopen(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn initialize(
self,
stream: impl Into<Stream>,
reader: impl Into<StreamReader>,
writer: impl Into<StreamWriter>,
)
fn initialize( self, stream: impl Into<Stream>, reader: impl Into<StreamReader>, writer: impl Into<StreamWriter>, )
Initialize(crate::system::io::stream::Stream, crate::system::io::streamreader::StreamReader, crate::system::io::streamwriter::StreamWriter) overload
Sourcefn check_file_is_not_closed(self)
fn check_file_is_not_closed(self)
CheckFileIsNotClosed() overload
Sourcefn read_line(self) -> Il2CppString
fn read_line(self) -> Il2CppString
ReadLine() overload
Sourcefn read_to_end(self) -> Il2CppString
fn read_to_end(self) -> Il2CppString
ReadToEnd() overload
Sourcefn read_buffer(self, p: impl Into<i32>) -> Il2CppString
fn read_buffer(self, p: impl Into<i32>) -> Il2CppString
ReadBuffer(i32) overload
Sourcefn write(self, value: impl Into<Il2CppString>)
fn write(self, value: impl Into<Il2CppString>)
Write(::unity::Il2CppString) overload
Sourcefn close(self) -> Il2CppString
fn close(self) -> Il2CppString
Close() overload
Sourcefn seek(self, whence: impl Into<Il2CppString>, offset: impl Into<i64>) -> i64
fn seek(self, whence: impl Into<Il2CppString>, offset: impl Into<i64>) -> i64
seek(::unity::Il2CppString, i64) overload
Sourcefn setvbuf(self, mode: impl Into<Il2CppString>) -> bool
fn setvbuf(self, mode: impl Into<Il2CppString>) -> bool
setvbuf(::unity::Il2CppString) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IStreamFileUserDataBase> IStreamFileUserDataBaseMethods for __T
Available on crate feature
moon_sharp-interpreter-core_lib-io-streamfileuserdatabase only.