Thread: [SPR-EASY]Boolean loading from file

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11  
    Community Veteran

    WH:II:DOW's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    2,022
    Thanks given
    145
    Thanks received
    871
    Rep Power
    4275
    Quote Originally Posted by AlexMason View Post
    no you idiot proves you are retarded. also palidino i didnt know stream classes were use in java files
    offcourse there are streams, it's what connects the server to client -_-
    hella titties
    Reply With Quote  
     

  2. #12  
    Banned

    Join Date
    Sep 2006
    Age
    28
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    Quote Originally Posted by AlexMason View Post
    no you idiot proves you are retarded. also palidino i didnt know stream classes were use in java files
    The byte array in the stream class is where all the bytes from the file are read to. Then using the stream class convert those bytes for reading/writing as needed with the different methods. Writing the string true requires 4 bytes, writing 1 or 0 for deteriming the boolean takes 1.
    Reply With Quote  
     

  3. #13  
    xiphias_
    Guest
    Quote Originally Posted by palidino76 View Post
    a boolean is a byte.
    a boolean is 1/8 of a byte (a bit).
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •