|
-
Nov 11th, 1999, 01:12 AM
#1
Thread Starter
New Member
I am creating an email server and I wanted to know how to byte stuff an character and what is the meaning of this.
Thank You
-
Nov 11th, 1999, 01:57 AM
#2
Guru
What is the meaning of this? This is a C++ keyword.
Seriously:
I don't know what you mean... Do you want to put a string in an array of bytes? If so, you can use CopyMemory:
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDest As Any, pSrc As Any, ByVal cbLength As Long)
Private Sub ByteStuffAString(ByVal sString As String, ByRef baByteArray() As Byte)
ReDim baByteArray(0 To Len(sString) - 1)
Call CopyMemory(baByteArray(0), ByVal sString, Len(sString))
End Sub
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|