Skip to content

SQLVarbinary

[Source]

The internal class which represents a binary blob

class ref SQLVarbinary is
  SQLType ref

Implements


Constructors

create

[Source]

new ref create(
  size: USize val)
: SQLVarbinary ref^

Parameters

Returns


Public Functions

write

[Source]

Write a string to this buffer. The string MUST fit in the defined buffer.

Will return true if written and verification succeeds.

Will return false if the string is too long for the buffer or the readback doesn't match for some other reason.

fun ref write(
  str: Array[U8 val] val)
: Bool val

Parameters

Returns


read

[Source]

Read the value of the buffer into a String iso^. This is an iso^ copy of the data so the buffer can remain in place and reused without rebinding.

fun ref read()
: Array[U8 val] iso^ ?

Returns