System.StreamExtensions.WriteNoAlloc C# (CSharp) Méthode

WriteNoAlloc() public static méthode

public static WriteNoAlloc ( this stream, Int16 v ) : void
stream this
v Int16
Résultat void
        public static unsafe void WriteNoAlloc(this Stream stream, Int16 v) { stream.WriteNoAlloc((byte*)&v, 0, sizeof(Int16)); }
        public static unsafe void WriteNoAlloc(this Stream stream, Int32 v) { stream.WriteNoAlloc((byte*)&v, 0, sizeof(Int32)); }

Same methods

StreamExtensions::WriteNoAlloc ( this stream, Int32 v ) : void
StreamExtensions::WriteNoAlloc ( this stream, System.Int64 v ) : void
StreamExtensions::WriteNoAlloc ( this stream, UInt16 v ) : void
StreamExtensions::WriteNoAlloc ( this stream, UInt32 v ) : void
StreamExtensions::WriteNoAlloc ( this stream, System.UInt64 v ) : void
StreamExtensions::WriteNoAlloc ( this stream, byte value ) : void
StreamExtensions::WriteNoAlloc ( this stream, byte bytes, int offset, int count ) : void
StreamExtensions::WriteNoAlloc ( this stream, decimal v ) : void
StreamExtensions::WriteNoAlloc ( this stream, double v ) : void
StreamExtensions::WriteNoAlloc ( this stream, float v ) : void
StreamExtensions::WriteNoAlloc ( this stream, string text, Encoding encoding = null ) : void