mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-10 09:56:25 +00:00
29 lines
622 B
C#
29 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;
|
|||
|
}
|
|||
|
}
|