menu
dart_db_server package
documentation
server/blob.dart
BlobHandle class
BlobHandle class
dark_mode
light_mode
BlobHandle
class
Constructors
BlobHandle.internal
(
List
<
Object
?
>
_row
,
int
_colIdx
, {
required
String
tableName
,
required
String
columnName
,
required
bool
writable
})
Properties
columnName
→
String
no setter
hashCode
→
int
The hash code for this object.
no setter
inherited
isClosed
→
bool
no setter
isWritable
→
bool
no setter
length
→
int
Total length of the blob in bytes.
no setter
position
↔
int
Current read/write cursor position (bytes from start of blob).
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
tableName
→
String
no setter
Methods
close
(
)
→ void
Release the handle. Idempotent. Subsequent reads/writes throw.
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read
(
int
count
, {
int
?
offset
})
→
Uint8List
Read up to
count
bytes starting at
position
(or
offset
if given). Returns a fresh copy. Advances the cursor by the number of bytes returned.
toString
(
)
→
String
A string representation of this object.
inherited
write
(
List
<
int
>
data
, {
int
?
offset
})
→ void
Write
data
starting at
position
(or
offset
if given). Cannot grow the blob — throws
RangeError
if the write would extend past the current length. Advances the cursor by
data.length
.
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
dart_db_server package
documentation
server/blob
BlobHandle class
blob library