C# 클래스 BinaryWriterExtensions, UnityRose

파일 보기 프로젝트 열기: osROSE/UnityRose 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultEncoding Encoding,

공개 메소드들

메소드 설명
Write ( this writer, Matrix4x4, value ) : void

Writes the specified matrix to the underlying stream.

Write ( this writer, Quaternion, value, bool w = false ) : void

Writes the specified vector to the underlying stream.

Write ( this writer, ShortVector3 value ) : void

Writes the specified vector to the underlying stream.

Write ( this writer, ShortVector4 value ) : void

Writes the specified vector to the underlying stream.

Write ( this writer, Vector2 value ) : void

Writes the specified vector to the underlying stream.

Write ( this writer, Vector3 value ) : void

Writes the specified vector to the underlying stream.

Write ( this writer, Vector4 value ) : void

Writes the specified vector to the underlying stream.

WriteByteString ( this writer, string value ) : void

Writes the specified string pre-fixed with the string length as a 8-bit integer to the underlying stream.

WriteByteString ( this writer, string value, Encoding, encoding ) : void

Writes the specified string pre-fixed with the string length as a 8-bit integer to the underlying stream.

WriteIntString ( this writer, string value ) : void

Writes the specified string pre-fixed with the string length as a 32-bit integer to the underlying stream.

WriteIntString ( this writer, string value, Encoding, encoding ) : void

Writes the specified string pre-fixed with the string length as a 32-bit integer to the underlying stream.

WriteShortString ( this writer, string value ) : void

Writes the specified string pre-fixed with the string length as a 16-bit integer to the underlying stream.

WriteShortString ( this writer, string value, Encoding, encoding ) : void

Writes the specified string pre-fixed with the string length as a 16-bit integer to the underlying stream.

WriteString ( this writer, string value ) : void

Writes the specified string to the underlying stream.

WriteString ( this writer, string value, Encoding, encoding ) : void

Writes the specified string to the underlying stream.

WriteString ( this writer, string value, int length, Encoding, encoding, char paddingCharacter = '\0' ) : void

Writes the specified string to the underlying stream.

WriteString ( this writer, string value, int length, char paddingCharacter = '\0' ) : void

Writes the specified string to the underlying stream.

비공개 메소드들

메소드 설명
BinaryWriterExtensions ( ) : System

Initializes the BinaryReaderExtensions class.

메소드 상세

Write() 공개 정적인 메소드

Writes the specified matrix to the underlying stream.
public static Write ( this writer, Matrix4x4, value ) : void
writer this
value Matrix4x4, The matrix value.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, Quaternion, value, bool w = false ) : void
writer this
value Quaternion, The quaternion value.
w bool if set to true the value is written in the order WXYZ, else XYZW.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, ShortVector3 value ) : void
writer this
value ShortVector3 The vector value.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, ShortVector4 value ) : void
writer this
value ShortVector4 The vector value.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, Vector2 value ) : void
writer this
value Vector2 The vector value.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, Vector3 value ) : void
writer this
value Vector3 The vector value.
리턴 void

Write() 공개 정적인 메소드

Writes the specified vector to the underlying stream.
public static Write ( this writer, Vector4 value ) : void
writer this
value Vector4 The vector value.
리턴 void

WriteByteString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 8-bit integer to the underlying stream.
public static WriteByteString ( this writer, string value ) : void
writer this
value string The string value.
리턴 void

WriteByteString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 8-bit integer to the underlying stream.
public static WriteByteString ( this writer, string value, Encoding, encoding ) : void
writer this
value string The string value.
encoding Encoding, The character encoding.
리턴 void

WriteIntString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 32-bit integer to the underlying stream.
public static WriteIntString ( this writer, string value ) : void
writer this
value string The string value.
리턴 void

WriteIntString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 32-bit integer to the underlying stream.
public static WriteIntString ( this writer, string value, Encoding, encoding ) : void
writer this
value string The string value.
encoding Encoding, The character encoding.
리턴 void

WriteShortString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 16-bit integer to the underlying stream.
public static WriteShortString ( this writer, string value ) : void
writer this
value string The string value.
리턴 void

WriteShortString() 공개 정적인 메소드

Writes the specified string pre-fixed with the string length as a 16-bit integer to the underlying stream.
public static WriteShortString ( this writer, string value, Encoding, encoding ) : void
writer this
value string The string value.
encoding Encoding, The character encoding.
리턴 void

WriteString() 공개 정적인 메소드

Writes the specified string to the underlying stream.
public static WriteString ( this writer, string value ) : void
writer this
value string The string value.
리턴 void

WriteString() 공개 정적인 메소드

Writes the specified string to the underlying stream.
public static WriteString ( this writer, string value, Encoding, encoding ) : void
writer this
value string The string value.
encoding Encoding, The character encoding.
리턴 void

WriteString() 공개 정적인 메소드

Writes the specified string to the underlying stream.
public static WriteString ( this writer, string value, int length, Encoding, encoding, char paddingCharacter = '\0' ) : void
writer this
value string The string value.
length int The fixed length.
encoding Encoding, The character encoding.
paddingCharacter char
리턴 void

WriteString() 공개 정적인 메소드

Writes the specified string to the underlying stream.
public static WriteString ( this writer, string value, int length, char paddingCharacter = '\0' ) : void
writer this
value string The string value.
length int The fixed length.
paddingCharacter char
리턴 void

프로퍼티 상세

DefaultEncoding 공개적으로 정적으로 프로퍼티

The default encoding to be used when reading strings.
public static Encoding, DefaultEncoding
리턴 Encoding,