Format an int 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 Integer,  _ 
   ByVal buf As Byte(),  _ 
   ByVal off As Integer,  _ 
   ByVal len As Integer _ 
) As Integer
C#
public int format(
   int val,
   byte[] buf,
   int off,
   int len
)
C++
public:
 int format(
   int val,
   array<char>^ buf,
   int off,
   int len
) sealed 
J#
public int format(
   int val,
   byte[] buf,
   int off,
   int len
)
JScript
public  function format(
   val : int,
   buf : Byte[],
   off : int,
   len : int
) : int

Parameters

val
Integer to be formatted
buf
Buffer in which result is to be stored
off
Offset within buffer
len
Maximum length of integer

Return Value

offset of next unused character in input buffer.

See Also