本文整理汇总了C#中Stream.ReadInt32BigE方法的典型用法代码示例。如果您正苦于以下问题:C# Stream.ReadInt32BigE方法的具体用法?C# Stream.ReadInt32BigE怎么用?C# Stream.ReadInt32BigE使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stream
的用法示例。
在下文中一共展示了Stream.ReadInt32BigE方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Mapping
public Mapping(Stream stream)
: base(stream)
{
MidiNoteBindingId = stream.ReadInt32BigE();
Type = (MappingType)stream.ReadInt32BigE();
TraktorControlId = stream.ReadInt32BigE();
Settings = new MappingSettings(stream);
}
示例2: MidiDefinition
public MidiDefinition(Stream stream)
: base(stream)
{
MidiNote = stream.ReadWideStringBigE();
Unknown1 = stream.ReadInt32BigE();
Unknown2 = stream.ReadInt32BigE();
Velocity = stream.ReadFloatBigE();
EncoderMode = (MidiEncoderMode) stream.ReadInt32BigE();
ControlId = stream.ReadInt32BigE();
}
示例3: MappingsList
public MappingsList(Stream stream)
: base(stream)
{
int count = stream.ReadInt32BigE();
Mappings = new List<Mapping>();
for (int i = 0; i < count; i++)
Mappings.Add(new Mapping(stream));
}
示例4: MidiNoteBindingList
public MidiNoteBindingList(Stream stream)
: base(stream)
{
int count = stream.ReadInt32BigE();
Bindings = new List<MidiNoteBinding>();
for (int i = 0; i < count; i++)
Bindings.Add(new MidiNoteBinding(stream));
}
示例5: DevicesList
public DevicesList(Stream stream)
: base(stream)
{
int count = stream.ReadInt32BigE();
List = new List<Device>();
for (int i = 0; i < count; i++)
List.Add(new Device(stream));
}
示例6: MidiOutDefinitions
public MidiOutDefinitions(Stream stream)
: base(stream)
{
int count = stream.ReadInt32BigE();
Definitions = new List<MidiDefinition>();
for (int i = 0; i < count; i++)
Definitions.Add(new MidiDefinition(stream));
}
示例7: DIOI
public DIOI(Stream stream)
: base(stream)
{
Unknown = stream.ReadInt32BigE();
}
示例8: MappingSettings
public MappingSettings(Stream stream)
: base(stream)
{
Unknown1 = stream.ReadInt32BigE();
ControllerType = (MappingControllerType) stream.ReadInt32BigE();
InteractionMode = (MappingInteractionMode) stream.ReadInt32BigE();
Deck = (MappingTargetDeck) stream.ReadInt32BigE();
AutoRepeat = stream.ReadBoolBigE();
Invert = stream.ReadBoolBigE();
SoftTakeover = stream.ReadBoolBigE();
RotarySensitivity = stream.ReadFloatBigE();
RotaryAcceleration = stream.ReadFloatBigE();
Unknown10 = stream.ReadInt32BigE();
Unknown11 = stream.ReadInt32BigE();
SetValueTo = stream.ReadFloatBigE();
Comment = stream.ReadWideStringBigE();
ModifierOneId = stream.ReadInt32BigE();
Unknown15 = stream.ReadInt32BigE();
ModifierOneValue = stream.ReadInt32BigE();
ModifierTwoId = stream.ReadInt32BigE();
Unknown18 = stream.ReadInt32BigE();
ModifierTwoValue = stream.ReadInt32BigE();
Unknown20 = stream.ReadInt32BigE();
LedMinControllerRange = stream.ReadFloatBigE();
Unknown22 = stream.ReadInt32BigE();
LedMaxControllerRange = stream.ReadFloatBigE();
LedMinMidiRange = stream.ReadInt32BigE();
LedMaxMidiRange = stream.ReadInt32BigE();
LedInvert = stream.ReadInt32BigE();
LedBlend = stream.ReadInt32BigE();
Unknown29 = stream.ReadInt32BigE();
Resolution = (MappingResolution) stream.ReadInt32BigE();
Unknown30 = stream.ReadInt32BigE();
}
示例9: Frame
protected Frame(Stream stream)
{
FrameId = stream.ReadASCIIString(4);
FrameSizeOnDisk = stream.ReadInt32BigE();
}
示例10: VersionInfo
public VersionInfo(Stream stream)
: base(stream)
{
Version = stream.ReadWideStringBigE();
MappingFileRevision = stream.ReadInt32BigE();
}
示例11: DeviceTargetInfo
public DeviceTargetInfo(Stream stream)
: base(stream)
{
Target = (DeviceTarget) stream.ReadInt32BigE();
}
示例12: MidiNoteBinding
public MidiNoteBinding(Stream stream)
: base(stream)
{
BindingId = stream.ReadInt32BigE();
MidiNote = stream.ReadWideStringBigE();
}