C# 클래스 fNbt.NbtByteArray

A tag containing an array of bytes.
상속: NbtTag
파일 보기 프로젝트 열기: fragmer/fNbt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PrettyPrint void
ReadTag bool
SkipTag void
WriteData void
WriteTag void

공개 메소드들

메소드 설명
Clone ( ) : object
NbtByteArray ( ) : System

Creates an unnamed NbtByte tag, containing an empty array of bytes.

NbtByteArray ( [ value ) : System

Creates an unnamed NbtByte tag, containing the given array of bytes.

Given byte array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a byte[]) and then set the Value property yourself.

NbtByteArray ( [ tagName, [ value ) : System

Creates an NbtByte tag with the given name, containing the given array of bytes.

Given byte array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a byte[]) and then set the Value property yourself.

this ( int tagIndex ) : byte

Gets or sets a byte at the given index.

비공개 메소드들

메소드 설명
PrettyPrint ( StringBuilder sb, string indentString, int indentLevel ) : void
ReadTag ( NbtBinaryReader readStream ) : bool
SkipTag ( NbtBinaryReader readStream ) : void
WriteData ( NbtBinaryWriter writeStream ) : void
WriteTag ( NbtBinaryWriter writeStream ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

NbtByteArray() 공개 메소드

Creates an unnamed NbtByte tag, containing an empty array of bytes.
public NbtByteArray ( ) : System
리턴 System

NbtByteArray() 공개 메소드

Creates an unnamed NbtByte tag, containing the given array of bytes.
Given byte array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a byte[]) and then set the Value property yourself.
is null.
public NbtByteArray ( [ value ) : System
value [ Byte array to assign to this tag's Value. May not be null.
리턴 System

NbtByteArray() 공개 메소드

Creates an NbtByte tag with the given name, containing the given array of bytes.
Given byte array will be cloned. To avoid unnecessary copying, call one of the other constructor overloads (that do not take a byte[]) and then set the Value property yourself.
is null.
public NbtByteArray ( [ tagName, [ value ) : System
tagName [ Name to assign to this tag. May be null.
value [ Byte array to assign to this tag's Value. May not be null.
리턴 System

this() 공개 메소드

Gets or sets a byte at the given index.
is outside the array bounds.
public this ( int tagIndex ) : byte
tagIndex int The zero-based index of the element to get or set.
리턴 byte