added c-store feature to dimse package, fixed logging of vr length mismatch
This commit is contained in:
1 parent
a5d4c6d0eb
commit
f839c60a68
11 files changed
+452
-33
No files matched your search
@@ -85,6 +85,13 @@ WriteStream.prototype.writeToBuffer = function(type, value, length) {
|
||||
this.increment(length);
|
||||
}
|
||||
|
||||
WriteStream.prototype.writeRawBuffer = function(source, start, length) {
|
||||
if (!source) return;
|
||||
this.checkSize(length);
|
||||
source.copy(this.rawBuffer, this.offset, start, length);
|
||||
this.increment(length);
|
||||
}
|
||||
|
||||
WriteStream.prototype.write = function(type, value) {
|
||||
if (isString(type)) {
|
||||
this.writeString(value, type);
|
||||
|
||||
Reference in new issue
Block a user