C# Class Akka.IO.ByteString

Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty ByteString

Méthodes publiques

Méthode Description
FromArray ( byte array ) : ByteString

Creates a new ByteString by copying a byte array.

FromArray ( byte array, int offset, int length ) : ByteString

Creates a new ByteString by copying length bytes starting at offset from an Array.

FromByteBuffer ( ByteBuffer buffer ) : ByteString
FromString ( string str ) : ByteString

Creates a new ByteString which will contain the UTF-8 representation of the given String

FromString ( string str, Encoding encoding ) : ByteString

Creates a new ByteString which will contain the representation of the given String in the given charset

NewBuilder ( ) : ByteStringBuilder

Private Methods

Méthode Description
Compare ( ByteString b1, ByteString b2 ) : int
Create ( ByteString1 b, ByteStrings bs ) : ByteString

Method Details

FromArray() public méthode

Creates a new ByteString by copying a byte array.
public FromArray ( byte array ) : ByteString
array byte
Résultat ByteString

FromArray() public méthode

Creates a new ByteString by copying length bytes starting at offset from an Array.
public FromArray ( byte array, int offset, int length ) : ByteString
array byte
offset int
length int
Résultat ByteString

FromByteBuffer() public static méthode

public static FromByteBuffer ( ByteBuffer buffer ) : ByteString
buffer ByteBuffer
Résultat ByteString

FromString() public static méthode

Creates a new ByteString which will contain the UTF-8 representation of the given String
public static FromString ( string str ) : ByteString
str string
Résultat ByteString

FromString() public static méthode

Creates a new ByteString which will contain the representation of the given String in the given charset
public static FromString ( string str, Encoding encoding ) : ByteString
str string
encoding System.Text.Encoding
Résultat ByteString

NewBuilder() public static méthode

public static NewBuilder ( ) : ByteStringBuilder
Résultat ByteStringBuilder

Property Details

Empty public_oe static_oe property

public static ByteString,Akka.IO Empty
Résultat ByteString