class · System.IO
BinaryWriter
public class System.IO.BinaryWriter : System.Any
- Tipo
- class
- Espacio de nombres
- System.IO
- Ensamblado
- System.Core
- Acceso
- public
- Archivo fuente
BinaryIO.ant
Herencia
- Clases base
-
AnyBinaryWriter
Constructores
constructor BinaryWriter(output: System.IO.Stream)
#
Propiedades
property BaseStream: System.IO.Stream
#
The stream it writes to.
Métodos
method Write(text: System.String<u8>) -> void
#
The byte count (7-bit encoded) and the UTF-8 bytes.
The bytes, without their count.
7 bits per byte, the high bit set on every byte but the last.
method Flush() -> void
#
method Close() -> void
#
Miembros privados e internos (4)
field stream: System.IO.Stream
#
field memory: System.IO.MemoryStream?
#
The stream when it is a MemoryStream: calls through this type can be direct (the program does not override them).
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
BinaryWriter en Larva HIR, descompilado a partir de su Larva HIR.
public class System.IO.BinaryWriter : System.Any
{
field stream: System.IO.Stream
// The stream when it is a MemoryStream: calls through this type can be direct (the program does not override them).
field memory: System.IO.MemoryStream?
field scratch: u8[]
method Put(value: u64, count: i32) -> void
constructor BinaryWriter(output: System.IO.Stream)
method Write(value: u8) -> void
method Write(value: i8) -> void
method Write(value: bool) -> void
method Write(value: i16) -> void
method Write(value: u16) -> void
method Write(value: i32) -> void
method Write(value: u32) -> void
method Write(value: i64) -> void
method Write(value: u64) -> void
method Write(value: f32) -> void
method Write(value: f64) -> void
// The byte count (7-bit encoded) and the UTF-8 bytes.
method Write(text: System.String<u8>) -> void
// The bytes, without their count.
method Write(bytes: u8[]) -> void
method Write(bytes: u8[], offset: i32, count: i32) -> void
// 7 bits per byte, the high bit set on every byte but the last.
method Write7BitEncodedInt(value: i32) -> void
method Flush() -> void
method Close() -> void
// The stream it writes to.
property BaseStream: System.IO.Stream
}