Skip to content

Commit

Permalink
Merge branch 'main' into talzacc/bdn_module
Browse files Browse the repository at this point in the history
  • Loading branch information
TalZaccai authored Jan 15, 2025
2 parents ace176a + b5997ae commit 6afddea
Show file tree
Hide file tree
Showing 20 changed files with 1,708 additions and 740 deletions.
10 changes: 5 additions & 5 deletions libs/common/RespWriteUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -702,11 +702,11 @@ public static bool WriteArrayWithNullElements(int len, ref byte* curr, byte* end
/// Writes an array consisting of an ETag followed by a Bulk string value into the buffer.
/// NOTE: Caller should make sure there is enough space in the buffer for sending the etag, and value array.
/// </summary>
/// <param name="etag"></param>
/// <param name="value"></param>
/// <param name="curr"></param>
/// <param name="end"></param>
/// <param name="writeDirect"></param>
/// <param name="etag">etag value to write in the array</param>
/// <param name="value">value to write in the array</param>
/// <param name="curr">start of destination buffer</param>
/// <param name="end">end of destincation buffer</param>
/// <param name="writeDirect">Whether to write the value directly to buffer or transform it to a resp bulk string</param>
public static void WriteEtagValArray(long etag, ref ReadOnlySpan<byte> value, ref byte* curr, byte* end, bool writeDirect)
{
// Writes a Resp encoded Array of Integer for ETAG as first element, and bulk string for value as second element
Expand Down
Loading

0 comments on commit 6afddea

Please sign in to comment.