class · System.IO
BinaryWriter
public class System.IO.BinaryWriter : System.Any
- Kind
- class
- Namespace
- System.IO
- Assembly
- System.Core
- Access
- public
- Source file
BinaryIO.ant
Inheritance
- Base classes
-
AnyBinaryWriter
Constructors
constructor BinaryWriter(output: System.IO.Stream)
#
Properties
property BaseStream: System.IO.Stream
#
The stream it writes to.
Methods
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
#
Private and internal members (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).
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
BinaryWriter as Larva HIR, decompiled from its 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
}