mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-10 18:06:23 +00:00
28 lines
622 B
C#
28 lines
622 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Be.Windows.Forms
|
|
{
|
|
/// <summary>
|
|
/// Represents a position in the HexBox control
|
|
/// </summary>
|
|
struct BytePositionInfo
|
|
{
|
|
public BytePositionInfo(long index, int characterPosition)
|
|
{
|
|
_index = index;
|
|
_characterPosition = characterPosition;
|
|
}
|
|
|
|
public int CharacterPosition
|
|
{
|
|
get { return _characterPosition; }
|
|
} int _characterPosition;
|
|
|
|
public long Index
|
|
{
|
|
get { return _index; }
|
|
} long _index;
|
|
}
|
|
}
|