CryptoSys PKI Pro Manual

cnvBytesMid

Return a substring of bytes of specified length from within a given byte array

Syntax

[VBA]
Public Function cnvBytesMid ( _
    Bytes() As Byte, _
    nOffset As Long, _
    Optional nBytes As Long = -1 _
) As Byte()

Parameters

Bytes
Byte array from which to return a substring (of bytes)
nOffset
Offset at which substring begins. First byte is at offset zero.
nBytes
Number of bytes in substring (optional). If negative, copy to end of input.

Return Value

Byte(): A byte array containing a specified number of bytes from a byte array.
[PREV: cnvBytesLen...]   [Contents]   [Index]   
   [NEXT: cnvCheckUTF8Bytes...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.