C# 클래스 System.IO.BigEndianWriter

A class for writing to BigEndian streams (i.e. Network or Video). Designed to be a drop-in replacement for System.IO.BinaryWriter
파일 보기 프로젝트 열기: i-e-b/HLS---Smooth-Encoder 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
OutStream Stream

공개 메소드들

메소드 설명
BigEndianWriter ( Stream output ) : System

Initializes a new instance of the System.IO.BinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings.

Close ( ) : void

Closes the current System.IO.BinaryWriter and the underlying stream.

Flush ( ) : void
Seek ( int offset, SeekOrigin origin ) : long

Not supported

Write ( System.Guid uuid_head ) : void
Write ( bool value ) : void

Writes a BYTE (0 or 1) value

Write ( byte value ) : void
Write ( byte buffer, int index, int count ) : void

Write a byte buffer. Current order is preserved (no endian-swap)

Write ( char ch ) : void
Write ( char chars, int index, int count ) : void
Write ( decimal value ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( sbyte value ) : void
Write ( short value ) : void
Write ( string value ) : void

Not Supported

Write ( uint value ) : void
Write ( ulong value ) : void
Write ( ushort value ) : void
WriteForward ( byte data ) : void

Write the given byte array in 0..n order

WriteReverse ( byte data ) : void

Write the given byte array in 0..n (reverse) order

보호된 메소드들

메소드 설명
BigEndianWriter ( ) : System

Initializes a new instance of the System.IO.BinaryWriter class that writesto a stream.

Write7BitEncodedInt ( int value ) : void

Not supported

메소드 상세

BigEndianWriter() 보호된 메소드

Initializes a new instance of the System.IO.BinaryWriter class that writesto a stream.
protected BigEndianWriter ( ) : System
리턴 System

BigEndianWriter() 공개 메소드

Initializes a new instance of the System.IO.BinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings.
public BigEndianWriter ( Stream output ) : System
output Stream The output stream
리턴 System

Close() 공개 메소드

Closes the current System.IO.BinaryWriter and the underlying stream.
public Close ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Seek() 공개 메소드

Not supported
public Seek ( int offset, SeekOrigin origin ) : long
offset int
origin SeekOrigin
리턴 long

Write() 공개 메소드

public Write ( System.Guid uuid_head ) : void
uuid_head System.Guid
리턴 void

Write() 공개 메소드

Writes a BYTE (0 or 1) value
public Write ( bool value ) : void
value bool
리턴 void

Write() 공개 메소드

public Write ( byte value ) : void
value byte
리턴 void

Write() 공개 메소드

Write a byte buffer. Current order is preserved (no endian-swap)
public Write ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
리턴 void

Write() 공개 메소드

public Write ( char ch ) : void
ch char
리턴 void

Write() 공개 메소드

public Write ( char chars, int index, int count ) : void
chars char
index int
count int
리턴 void

Write() 공개 메소드

public Write ( decimal value ) : void
value decimal
리턴 void

Write() 공개 메소드

public Write ( double value ) : void
value double
리턴 void

Write() 공개 메소드

public Write ( float value ) : void
value float
리턴 void

Write() 공개 메소드

public Write ( int value ) : void
value int
리턴 void

Write() 공개 메소드

public Write ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( sbyte value ) : void
value sbyte
리턴 void

Write() 공개 메소드

public Write ( short value ) : void
value short
리턴 void

Write() 공개 메소드

Not Supported
public Write ( string value ) : void
value string
리턴 void

Write() 공개 메소드

public Write ( uint value ) : void
value uint
리턴 void

Write() 공개 메소드

public Write ( ulong value ) : void
value ulong
리턴 void

Write() 공개 메소드

public Write ( ushort value ) : void
value ushort
리턴 void

Write7BitEncodedInt() 보호된 메소드

Not supported
protected Write7BitEncodedInt ( int value ) : void
value int
리턴 void

WriteForward() 공개 메소드

Write the given byte array in 0..n order
public WriteForward ( byte data ) : void
data byte
리턴 void

WriteReverse() 공개 메소드

Write the given byte array in 0..n (reverse) order
public WriteReverse ( byte data ) : void
data byte
리턴 void

프로퍼티 상세

OutStream 보호되어 있는 프로퍼티

Holds the underlying stream.
protected Stream OutStream
리턴 Stream