Archived
1
1
This repository has been archived on 2026-03-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2025-05-22 01:31:03 +02:00

30 lines
737 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MetroUnlocker.LibTSForge.PhysicalStore
{
public class BasicBlock
{
public byte[] Key;
public string KeyAsString
{
get { return Utils.DecodeString(Key); }
set { Key = Utils.EncodeString(value); }
}
public byte[] Value;
public string ValueAsString
{
get { return Utils.DecodeString(Value); }
set { Value = Utils.EncodeString(value); }
}
public uint ValueAsInteger
{
get { return BitConverter.ToUInt32(Value, 0); }
set { Value = BitConverter.GetBytes(value); }
}
}
}