public ScanResult HScan(string hashId, ulong cursor, int count = 10, string match = null) { if (match == null) { return SendExpectScanResult(Commands.HScan, hashId.ToUtf8Bytes(), cursor.ToUtf8Bytes(), Commands.Count, count.ToUtf8Bytes()); } return SendExpectScanResult(Commands.HScan, hashId.ToUtf8Bytes(), cursor.ToUtf8Bytes(), Commands.Match, match.ToUtf8Bytes(), Commands.Count, count.ToUtf8Bytes()); }