SalBinary
Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.49 (4.9.0.0)
SAL Binary type (TD6).
- C#
- VB.NET
public class SalBinary : ISalType
Public Class SalBinary
Inherits ISalType
Constructors
SalBinary()
Constructs a new SalString object containing an empty string.
SalBinary(buffer)
Constructs a new SalString object.
| Name | Type | Description |
|---|---|---|
| buffer | Byte[] |
Fields
| Name | Type | Description |
|---|---|---|
| Empty | SalBinary | empty value |
Properties
IsNull
Boolean: Checks if this SalBinary object contains a null value.
Length
SalNumber: Returns the buffer's length.
Value
Byte[]: Returns the inner byte[] value
Methods
GetBufferLength()
Returns the current buffer length of the string.
Returns: SalNumber. nLength
SetBufferLength(target, length)
| Parameter | Type | Description |
|---|---|---|
| target | SalBinary& | |
| length | Int32 |
Returns: Boolean.
Implements
| Name | Description |
|---|---|
| ISalType | Common base interface for Sal types. |