C# Class IronPython.Modules.PythonIOModule.BytesIO

Inheritance: _BufferedIOBase, IEnumerator, IDisposable, IDynamicMetaObjectProvider
Afficher le fichier Open project: jschementi/iron

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public BytesIO ( CodeContext context, [ initial_bytes ) : System
context CodeContext
initial_bytes [
Résultat System

__init__() public méthode

public __init__ ( [ initial_bytes ) : void
initial_bytes [
Résultat void

close() public méthode

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

getvalue() public méthode

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

readable() public méthode

public readable ( CodeContext context ) : bool
context CodeContext
Résultat bool

readinto() public méthode

public readinto ( CodeContext context, object buf ) : BigInteger
context CodeContext
buf object
Résultat BigInteger

readline() public méthode

public readline ( object size ) : System.Bytes
size object
Résultat System.Bytes

seek() public méthode

public seek ( CodeContext context, BigInteger pos, [ whence ) : BigInteger
context CodeContext
pos BigInteger
whence [
Résultat BigInteger

seek() public méthode

public seek ( double pos, [ whence ) : BigInteger
pos double
whence [
Résultat BigInteger

seekable() public méthode

public seekable ( CodeContext context ) : bool
context CodeContext
Résultat bool

truncate() public méthode

public truncate ( CodeContext context, [ size ) : BigInteger
context CodeContext
size [
Résultat BigInteger

truncate() public méthode

public truncate ( int size ) : BigInteger
size int
Résultat BigInteger

writable() public méthode

public writable ( CodeContext context ) : bool
context CodeContext
Résultat bool