C# Class IronPython.Modules.PythonIOModule.BytesIO

Inheritance: _BufferedIOBase, IEnumerator, IDisposable, IDynamicMetaObjectProvider
Mostrar archivo Open project: jschementi/iron

Private Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

BytesIO() public method

public BytesIO ( CodeContext context, [ initial_bytes ) : System
context CodeContext
initial_bytes [
return System

__init__() public method

public __init__ ( [ initial_bytes ) : void
initial_bytes [
return void

close() public method

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

getvalue() public method

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

readable() public method

public readable ( CodeContext context ) : bool
context CodeContext
return bool

readinto() public method

public readinto ( CodeContext context, object buf ) : BigInteger
context CodeContext
buf object
return BigInteger

readline() public method

public readline ( object size ) : System.Bytes
size object
return System.Bytes

seek() public method

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

seek() public method

public seek ( double pos, [ whence ) : BigInteger
pos double
whence [
return BigInteger

seekable() public method

public seekable ( CodeContext context ) : bool
context CodeContext
return bool

truncate() public method

public truncate ( CodeContext context, [ size ) : BigInteger
context CodeContext
size [
return BigInteger

truncate() public method

public truncate ( int size ) : BigInteger
size int
return BigInteger

writable() public method

public writable ( CodeContext context ) : bool
context CodeContext
return bool