Series.Bin (SeriesBinaryNameSpace)
Namespace: Polars.FSharp
Instance Methods
Contains
Check if the binary data contains the given value.
fsharp
member Contains(literal: Expr) : SeriesParameters
| Name | Type | Description |
|---|---|---|
literal | Expr | - |
Decode
Decode the binary data using the given encoding.
fsharp
member Decode(encoding: TransferEncoding, ?strict: bool) : SeriesParameters
| Name | Type | Description |
|---|---|---|
encoding | TransferEncoding | - |
strict | bool (optional) | - |
Encode
Encode the binary data using the given encoding.
fsharp
member Encode(encoding: TransferEncoding) : SeriesParameters
| Name | Type | Description |
|---|---|---|
encoding | TransferEncoding | - |
EndsWith
Check if the binary data ends with the given suffix.
fsharp
member EndsWith(suffix: Expr) : SeriesParameters
| Name | Type | Description |
|---|---|---|
suffix | Expr | - |
Head
Get the first n bytes of the binary data.
fsharp
member Head(?n: int) : SeriesParameters
| Name | Type | Description |
|---|---|---|
n | int (optional) | - |
Reinterpret
Reinterpret the binary data as the given data type.
fsharp
member Reinterpret(dtype: DataTypeExpr, ?endianness: Endianness) : Series
member Reinterpret(dtype: DataType, ?endianness: Endianness) : SeriesParameters
| Name | Type | Description |
|---|---|---|
dtype | DataTypeExpr | - |
endianness | Endianness (optional) | - |
Size
Get the size of the binary data.
fsharp
member Size(?unit: SizeUnit) : SeriesParameters
| Name | Type | Description |
|---|---|---|
unit | SizeUnit (optional) | - |
Slice
Get a slice of the binary data.
fsharp
member Slice(offset: int, ?length: int) : SeriesParameters
| Name | Type | Description |
|---|---|---|
offset | int | - |
length | int (optional) | - |
StartsWith
Check if the binary data starts with the given prefix.
fsharp
member StartsWith(prefix: Expr) : SeriesParameters
| Name | Type | Description |
|---|---|---|
prefix | Expr | - |
Tail
Get the last n bytes of the binary data.
fsharp
member Tail(?n: int) : SeriesParameters
| Name | Type | Description |
|---|---|---|
n | int (optional) | - |