Review ASP binary stream bottlenecks and whether new data structures can be introduced

Source: Internet
Author: User

In ASP, the most frequently asked questions are: no outbound call multipar/form, image generation, and file information extraction.

 

The core issue is byte () operations. Because ASP only supports the variant data type, operations on byte () have to be processed by ADODB. Stream, midb, leftb, and lenb. In particular, although byte () data captured by midb can be read by ASP, it has been converted to the variant type and cannot be restored to byte () or ADODB. stream writes data in binary mode, which is really annoying.

 

Can we introduce some new data structures to skip this bottleneck?

 

I think the iso8859-2 encoding can be used as a bit extended character data type because the encoding directly expands byte bytes into a 2-Bit String variant. string type (low byte unchanged, high byte takes 0), without value conversion, can be said to be very useful in ASP operations.

 

However, this brings about another problem. It is very convenient to convert all binary data and the Extended Binary data type. However, there are currently no mature ASPCodeSupport. If you want to do it yourself, there is no future in the end of ASP.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.