C# 클래스 IronPython.Modules.PythonIOModule.BytesIO

상속: _BufferedIOBase, IEnumerator, IDisposable, IDynamicMetaObjectProvider
파일 보기 프로젝트 열기: jschementi/iron

Private Properties

프로퍼티 타입 설명
BytesIO System
DoWrite int
DoWrite int
DoWrite int
DoWrite int
EnsureSize void
EnsureSizeSetLength void
IDisposable void
IDynamicMetaObjectProvider System.Dynamic.DynamicMetaObject
IEnumerator bool
IEnumerator void
isatty bool
read object
read1 System.Bytes
readinto BigInteger
readline System.Bytes
readline object
readlines List
seek BigInteger
tell BigInteger
truncate BigInteger
write BigInteger
writelines void

공개 메소드들

메소드 설명
BytesIO ( CodeContext context, [ initial_bytes ) : System
__init__ ( [ initial_bytes ) : void
close ( CodeContext context ) : void

close() -> None. Disable all I/O operations.

getvalue ( ) : System.Bytes

getvalue() -> bytes. Retrieve the entire contents of the BytesIO object.

readable ( CodeContext context ) : bool
readinto ( CodeContext context, object buf ) : BigInteger
readline ( object size ) : System.Bytes
seek ( CodeContext context, BigInteger pos, [ whence ) : BigInteger
seek ( double pos, [ whence ) : BigInteger
seekable ( CodeContext context ) : bool
truncate ( CodeContext context, [ size ) : BigInteger
truncate ( int size ) : BigInteger
writable ( CodeContext context ) : bool

비공개 메소드들

메소드 설명
BytesIO ( CodeContext context ) : System
DoWrite ( ICollection bytes ) : int
DoWrite ( byte bytes ) : int
DoWrite ( object bytes ) : int
DoWrite ( string bytes ) : int
EnsureSize ( int size ) : void
EnsureSizeSetLength ( int size ) : void
IDisposable ( ) : void
IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
IEnumerator ( ) : bool
IEnumerator ( ) : void
isatty ( CodeContext context ) : bool
read ( CodeContext context, [ size ) : object
read1 ( CodeContext context, int size ) : System.Bytes
readinto ( [ buffer ) : BigInteger
readline ( [ size ) : System.Bytes
readline ( CodeContext context, [ limit ) : object
readlines ( [ hint ) : List
seek ( int pos, [ whence ) : BigInteger
tell ( CodeContext context ) : BigInteger
truncate ( ) : BigInteger
write ( CodeContext context, object bytes ) : BigInteger
writelines ( [ lines ) : void

메소드 상세

BytesIO() 공개 메소드

public BytesIO ( CodeContext context, [ initial_bytes ) : System
context CodeContext
initial_bytes [
리턴 System

__init__() 공개 메소드

public __init__ ( [ initial_bytes ) : void
initial_bytes [
리턴 void

close() 공개 메소드

close() -> None. Disable all I/O operations.
public close ( CodeContext context ) : void
context CodeContext
리턴 void

getvalue() 공개 메소드

getvalue() -> bytes. Retrieve the entire contents of the BytesIO object.
public getvalue ( ) : System.Bytes
리턴 System.Bytes

readable() 공개 메소드

public readable ( CodeContext context ) : bool
context CodeContext
리턴 bool

readinto() 공개 메소드

public readinto ( CodeContext context, object buf ) : BigInteger
context CodeContext
buf object
리턴 BigInteger

readline() 공개 메소드

public readline ( object size ) : System.Bytes
size object
리턴 System.Bytes

seek() 공개 메소드

public seek ( CodeContext context, BigInteger pos, [ whence ) : BigInteger
context CodeContext
pos BigInteger
whence [
리턴 BigInteger

seek() 공개 메소드

public seek ( double pos, [ whence ) : BigInteger
pos double
whence [
리턴 BigInteger

seekable() 공개 메소드

public seekable ( CodeContext context ) : bool
context CodeContext
리턴 bool

truncate() 공개 메소드

public truncate ( CodeContext context, [ size ) : BigInteger
context CodeContext
size [
리턴 BigInteger

truncate() 공개 메소드

public truncate ( int size ) : BigInteger
size int
리턴 BigInteger

writable() 공개 메소드

public writable ( CodeContext context ) : bool
context CodeContext
리턴 bool