I am working on translating a small package from C ++ to Java. I have never used C ++, so some of the syntaxes are a bit cryptic. In particular, it’s hard for me to understand what the Java equivalent is:
file: SomeClass.cpp SomeClass::SomeClass( BitStream* data, const char* const filename ) : data( data ), cipher( filename ), iv( new Botan::byte [cipher.BLOCK_SIZE] ), ivBitsSet( 0 ), keyMaterialRemaining( 0 ), keyMaterial( new Botan::byte [cipher.BLOCK_SIZE] ) {}
I am satisfied (in Java):
public SomeClass{ public SomeClass(InputStream data, String filename){ } }
but I'm not sure what to do with the material after : in C ++. Are these fields? Extra options? Apologies for the trivial question, but far from gone with Google on this ...
source share