GZipStream.WriteByte(Byte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a byte to the current GZip stream and advances the current position within this GZip stream by one.
public:
override void WriteByte(System::Byte value);
public override void WriteByte (byte value);
override this.WriteByte : byte -> unit
Public Overrides Sub WriteByte (value As Byte)
Parameters
- value
- Byte
A byte to write to the stream.
Remarks
Writing one byte at a time in a loop is less efficient than writing multiple bytes at once. Prefer using the Write(ReadOnlySpan<Byte>) or WriteAsync(ReadOnlyMemory<Byte>, CancellationToken) method for writing multiple bytes at once.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.