Problems with Subclassing BinaryArray
Posted: Fri Aug 07, 2009 11:55 am
by JADE Kid - Ray Hidayat >> Tue, 18 Jul 2000 6:37:20 GMT
If you saw all of my previous posts on instantaneous transactions and everything you will know that I have decided to load a file into a BinaryArray.
I set off to do this, when I found that BinaryArray only allows each part to be 128 bytes long. Now remember I want to load files that could be huge! So I set off to subclass it.
I made each section 65536 bytes long. That worked.
I made an attribute to use that. That worked.
But when I ran it:
Jade didn't like it. It said...
"Abnormal Program Termination"
Now I am fully aware of these BLOBS (Binary Large Objects).
If you didn't know already, any binary that has a length of over 540 bytes, is considered to have variable length. Those are Blobs. There are also Slobs (String Large Objects). Funny names huh?
So I made the size 256, which is less than 540. And the same error came up. I don't know why.
So I don't think that I can subclass BinaryArray.
The only exception to this exception (error, hahahahha) is when I load a file that is less than 65536 bytes long.
When I use the BinaryArray normally, it works.
--
Ray Hidayat
JADE Kid - 2000
www.jadekids.com
If you saw all of my previous posts on instantaneous transactions and everything you will know that I have decided to load a file into a BinaryArray.
I set off to do this, when I found that BinaryArray only allows each part to be 128 bytes long. Now remember I want to load files that could be huge! So I set off to subclass it.
I made each section 65536 bytes long. That worked.
I made an attribute to use that. That worked.
But when I ran it:
Jade didn't like it. It said...
"Abnormal Program Termination"
Now I am fully aware of these BLOBS (Binary Large Objects).
If you didn't know already, any binary that has a length of over 540 bytes, is considered to have variable length. Those are Blobs. There are also Slobs (String Large Objects). Funny names huh?
So I made the size 256, which is less than 540. And the same error came up. I don't know why.
So I don't think that I can subclass BinaryArray.
The only exception to this exception (error, hahahahha) is when I load a file that is less than 65536 bytes long.
When I use the BinaryArray normally, it works.
--
Ray Hidayat
JADE Kid - 2000
www.jadekids.com