메소드 | 설명 | |
---|---|---|
AllocateTag ( ) : |
Allocates a new tag at the end of the tag list without updating the file. The tag's group will be null until it is assigned data. You can give the tag data by using one of the overwrite functions.
|
|
AllocateTag ( TagGroup type ) : |
Allocates a new tag at the end of the tag list without updating the file. You can give the tag data by using one of the overwrite functions.
|
|
DuplicateTag ( Stream stream, |
Duplicates a tag.
|
|
ExtractTag ( Stream stream, |
Reads a tag's data from the file.
|
|
ExtractTagRaw ( Stream stream, |
Reads a tag's raw data from the file, including its header.
|
|
SetTagData ( Stream stream, |
Overwrites a tag's data.
|
|
SetTagDataRaw ( Stream stream, |
Overwrites a tag's raw data, including its header.
|
|
TagCache ( Stream stream ) : System |
Opens a tags.dat file from a stream.
|
|
UpdateTagOffsets ( |
Updates the tag offset table in the file.
|
메소드 | 설명 | |
---|---|---|
BuildTagDescription ( Stream stream, |
Builds a description for a tag's data without extracting anything.
|
|
FixTagOffsets ( long startOffset, long sizeDelta, |
Fixes tag offsets after a resize operation.
|
|
GetNewTagOffset ( int index ) : long |
Gets the offset that a new tag should be inserted at so that the tags are stored in order by index.
|
|
GetTagDataEndOffset ( ) : long |
Gets the tag data end offset.
|
|
Load ( |
Reads the tags.dat file.
|
|
ResizeBlock ( Stream stream, |
Resizes a block of data in the file.
|
|
UpdateFileHeader ( |
Updates the file header.
|
public AllocateTag ( TagGroup type ) : |
||
type | TagGroup | The tag's type information. |
리턴 |
public DuplicateTag ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to duplicate. | |
리턴 |
public ExtractTag ( Stream stream, |
||
stream | Stream | The stream to read from. |
tag | The tag to read. | |
리턴 | TagData |
public ExtractTagRaw ( Stream stream, |
||
stream | Stream | The stream to read from. |
tag | The tag to read. | |
리턴 | byte[] |
public SetTagData ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to overwrite. | |
data | TagData | The data to store. |
리턴 | void |
public SetTagDataRaw ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to overwrite. | |
data | byte | The data to overwrite the tag with. |
리턴 | void |
public TagCache ( Stream stream ) : System | ||
stream | Stream | The stream to open. |
리턴 | System |
public UpdateTagOffsets ( |
||
writer | The stream to write to. | |
리턴 | void |