C# Class ZXing.QrCode.Internal.ByteMatrix

JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned 0, 1 and 2 I'm going to use less memory and go with bytes.
Datei anzeigen Open project: cyberh0me/OTP Class Usage Examples

Public Methods

Method Description
ByteMatrix ( int width, int height ) : System
ToString ( ) : String
clear ( sbyte value ) : void
set ( int x, int y, bool value ) : void
set ( int x, int y, sbyte value ) : void
this ( int x, int y ) : int

Method Details

ByteMatrix() public method

public ByteMatrix ( int width, int height ) : System
width int
height int
return System

ToString() public method

public ToString ( ) : String
return String

clear() public method

public clear ( sbyte value ) : void
value sbyte
return void

set() public method

public set ( int x, int y, bool value ) : void
x int
y int
value bool
return void

set() public method

public set ( int x, int y, sbyte value ) : void
x int
y int
value sbyte
return void

this() public method

public this ( int x, int y ) : int
x int
y int
return int