C# Класс IronPython.Modules.PythonIOModule.BytesIO

Наследование: _BufferedIOBase, IEnumerator, IDisposable, IDynamicMetaObjectProvider
Показать файл Открыть проект

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