Format a boolean into an existing array
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function format( _ ByVal val As Boolean, _ ByVal array As Byte(), _ ByVal off As Integer, _ ByVal len As Integer _ ) As Integer |
| C# |
|---|
| public int format( bool val, byte[] array, int off, int len ) |
| C++ |
|---|
| public: int format( bool val, array<char>^ array, int off, int len ) sealed |
| J# |
|---|
| public int format( bool val, byte[] array, int off, int len ) |
| JScript |
|---|
| public
function format( val : bool, array : Byte[], off : int, len : int ) : int |
Parameters
- val
- The boolean to be formatted
- array
- The buffer in which to format the data.
- off
- The starting offset within the buffer.
- len
- The maximum number of characters to use in formatting the number.
Return Value
Offset of next available character in buffer.