World Of Webmaster
Đăng nhập / Đăng ký
Account
Free for web
Check pagerank
Input check pager (Not http://)

Ext: blog.kai.vn
Check google pagerank
View HTML source
FUNCTION LIBRARY
HTML Tags Library
PHP Functions Library ASP Functions Library
ASP Functions BinaryToString
Chức năng: Chuyển đổi nội dung nhị phân sang dạng String
Ngôn ngữ: asp - Nhóm: string
CÚ PHÁP
strText = BinaryToString(byVal Binary)

Chuyển đổi giá trị đối số Binary về dạng String.

VÍ DỤ
<%
Dim a
a = BinaryToString(Binary)
%>
ASP Code
<%
Function BinaryToString(byVal Binary, byVal CharSet)
    '--- Converts the binary content to text
    Dim BinaryStream
    Set BinaryStream = CreateObject("ADODB.Stream")
    '--- Specify stream type.
    BinaryStream.Type = 1 '--- adTypeBinary
    '--- Open the stream And write text/string data To the object
    BinaryStream.Open
    BinaryStream.Write strContent
    '--- Change stream type To binary
    BinaryStream.Position = 0
    BinaryStream.Type = 2 '--- adTypeText
    '--- Specify charset for the source text (unicode) data.
    BinaryStream.CharSet = "UTF-8"
    '--- Open the stream And get binary data from the object
    strText = BinaryStream.ReadText
End Function
%>

AddChr
CountWord
Format
FormatString
FormatTxt
GetAlphaRegExp
GetNumberRegExp
HexToStr
InstrCount
IsAlpha
Library ›› HTML Tag | PHP Function | ASP Function
Page : 873878
Online :
Visited : 396935
 
Liên h | Thêm vào Favorite | Gửi link qua e-mail | Thông tin website
Copright © 2009 KAI Blog
Code by BOINGOnline. Contact email : contact@kai.vn
Theme: default | classic |