SqlServerByteBuilder
class in package klyn.databases.sql.sqlserver

    public class SqlServerByteBuilder:

SqlServerByteBuilder

Byte builder helper for TDS protocol.

    import klyn.databases.sql.sqlserver

    builder = SqlServerByteBuilder()
    builder.append(Byte(0x01))
    builder.appendShort(256)
    bytes = builder.toArray()

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SqlServerByteBuilder `SqlServerByteBuilder():` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | append `append(data as Byte[]) as SqlServerByteBuilder:` | No summary.
public | append `append(value as Byte) as SqlServerByteBuilder:` | No summary.
public | append `append(value as Int) as SqlServerByteBuilder:` | No summary.
public | appendBytes `appendBytes(data as Byte[]) as SqlServerByteBuilder:` | No summary.
public | appendBytes `appendBytes(text as String, length as Int) as SqlServerByteBuilder:` | No summary.
public | appendInt `appendInt(value as Int) as SqlServerByteBuilder:` | No summary.
public | appendIntBE `appendIntBE(value as Int) as SqlServerByteBuilder:` | No summary.
public | appendLong `appendLong(value as Long) as SqlServerByteBuilder:` | No summary.
public | appendNBytes `appendNBytes(text as String, length as Int) as SqlServerByteBuilder:` | No summary.
public | appendShort `appendShort(value as Int) as SqlServerByteBuilder:` | No summary.
public | appendShortBE `appendShortBE(value as Int) as SqlServerByteBuilder:` | No summary.
public | length `length() as Int:` | No summary.
public | toArray `toArray() as Byte[]:` | No summary.