C# 클래스 Dolkens.Framework.BinaryExtensions.ExtensionMethods

The MIT License (MIT) Copyright (c) 2008 Peter Dolkens Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
파일 보기 프로젝트 열기: dolkensp/HoloXPLOR 1 사용 예제들

공개 메소드들

메소드 설명
GetPath ( this target ) : String
ReadAllBytes ( this stream ) : Byte[]
ReadCString ( this binaryReader ) : String

Read a NULL-Terminated string from the stream

ReadFString ( this binaryReader, Int32 stringLength ) : String

Read a Fixed-Length string from the stream

ReadGuid ( this reader, System.Boolean nullable = true ) : Guid?
ReadPString ( this binaryReader, StringSizeEnum byteLength = StringSizeEnum.Int32 ) : String

Read a Length-prefixed string from the stream

Rename ( this element, String name ) : XmlElement

메소드 상세

GetPath() 공개 정적인 메소드

public static GetPath ( this target ) : String
target this
리턴 String

ReadAllBytes() 공개 정적인 메소드

public static ReadAllBytes ( this stream ) : Byte[]
stream this
리턴 Byte[]

ReadCString() 공개 정적인 메소드

Read a NULL-Terminated string from the stream
public static ReadCString ( this binaryReader ) : String
binaryReader this
리턴 String

ReadFString() 공개 정적인 메소드

Read a Fixed-Length string from the stream
public static ReadFString ( this binaryReader, Int32 stringLength ) : String
binaryReader this
stringLength System.Int32 Size of the String
리턴 String

ReadGuid() 공개 정적인 메소드

public static ReadGuid ( this reader, System.Boolean nullable = true ) : Guid?
reader this
nullable System.Boolean
리턴 Guid?

ReadPString() 공개 정적인 메소드

Read a Length-prefixed string from the stream
public static ReadPString ( this binaryReader, StringSizeEnum byteLength = StringSizeEnum.Int32 ) : String
binaryReader this
byteLength StringSizeEnum Size of the Length representation
리턴 String

Rename() 공개 정적인 메소드

public static Rename ( this element, String name ) : XmlElement
element this
name String
리턴 System.Xml.XmlElement