mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:48:12 +02:00
* Use const for string argument
This commit is contained in:
parent
12866e2e61
commit
beb97b8110
@ -97,7 +97,7 @@ Function Base64 : TAlphabetEncoder;
|
||||
Function Base64URL : TAlphabetEncoder;
|
||||
Function GetStandardEncoder(aEncoder : TStandardEncoder): TAlphabetEncoder;
|
||||
|
||||
Function GetRawStringBytes(S : String) : TBytes;
|
||||
Function GetRawStringBytes(const S : String) : TBytes;
|
||||
Function GetRawStringFromBytes(B : TBytes) : RawByteString;
|
||||
|
||||
implementation
|
||||
@ -114,7 +114,7 @@ begin
|
||||
Move(B[0],Result[1],L);
|
||||
end;
|
||||
|
||||
Function GetRawStringBytes(S : String) : TBytes;
|
||||
Function GetRawStringBytes(Const S : String) : TBytes;
|
||||
|
||||
Var
|
||||
L : Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user